ac 2.68 - AC_LANG_SOURCE

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

 



I have seen the thread at 
http://www.mail-archive.com/bug-autoconf@xxxxxxx/msg03051.html already, 
though there is a case where the warning persists:

configure.ac:4: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call 
detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
configure.ac:4: the top level

AC_INIT([foo],[0])
AC_PROG_CC
AC_MSG_CHECKING([foo])
AC_LINK_IFELSE(AC_LANG_SOURCE([int main(void) { return 0; }]))

Adding [ ] around AC_LANG_SOURCE would fix it, but I don't see this 
extra quoting being normally required. Can someone elaborate?



_______________________________________________
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