According to Carsten Heinrici on 1/10/2010 4:14 PM: > we are sually working with autoconf 2.63, but I just have to work on a > system with 2.64 installed and run into the warning: > > configure.in:40: warning: AC_REQUIRE: `AC_PROG_CC' was expanded before > it was required This scenario is described in the manual: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required Without seeing your configure.ac, I can't tell you the exact fix, but it is likely to be a matter of using AC_REQUIRE in more places, or perhaps an AC_DEFUN_ONCE instead of AC_DEFUN of your macro that is wrapping the call to AC_PROG_CC. > AC_CACHE_CHECK is expanded from... > ../ingeconf/icgeneral.m4:2064: IC_CHECK_THREADSAFE is expanded from... > ../ingeconf/icgeneral.m4:144: IC_CONFIG_C_ is expanded from... > ../ingeconf/icgeneral.m4:116: IC_CONFIG_C is expanded from... In other words, it looks like your definitions of IC_CONFIG_* are likely to be the culprits. The second example in that portion of the manual dealt exactly with the case of someone using AC_PROG_CC from within another macro. -- Don't work too hard, make some time for fun as well! Eric Blake ebb9@xxxxxxx
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf