Re: Detecting that AC_PROG_LIBTOOL has been invoked

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

 




m4_define([m4_provided], [
m4_provide_if([AC_PROG_LIBTOOL], [], [
m4_provide_if([LT_INIT], [],
              [m4_warn([syntax], [Libtool required by $1])])])])])

...

m4_provided([MY_MACRO_NAME])

I didn't count the number of closing brackets.


What is the m4_provide_if? I didn't find it in the manual of autoconf and m4.

It's in m4sugar.

Anyways, does this guarantee me that the user did INVOKE the give macros, not merely that they exist?

Yes.

Paolo


_______________________________________________
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