macro reuse

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I want reuse an existing macro but for this purpose I have to pass
an argument (the version number of the library).

The macro which already exist(say M1) checks the existence of the
library and the version number.
The new macro which wants reuse the M1 macro will do something more
but it has also first to check existence and version number of the lib.

My idea was to call AC_REQUIRE([M1([$version_number])]) but it does
not work.

How can I reuse the M1 macro in the new macro without code duplication ?

Thomas



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux