autoconf warnings (AC_AIX, ...)

Enrico Weigelt weigelt at metux.de
Mon Dec 29 23:41:38 UTC 2008


Hi folks,


while regenerating the autoconf files, I get bunch of warnings:
(but ./configure is created nevertheless)

configure.ac:105: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
aclocal.m4:2977: gl_LOCK_EARLY_BODY is expanded from...
aclocal.m4:2970: gl_LOCK_EARLY is expanded from...
aclocal.m4:3201: gl_LOCK is expanded from...
aclocal.m4:1639: gt_INTL_SUBDIR_CORE is expanded from...
aclocal.m4:1478: AM_INTL_SUBDIR is expanded from...
aclocal.m4:451: AM_GNU_GETTEXT is expanded from...
configure.ac:105: the top level
configure.ac:105: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
configure.ac:105: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:105: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE


A little research on the net showed up that it might have something
to do w/ target-specific macros like AC_AIX or AC_MINIX, AC_GNU_SOURCE,
which are now obsolete, instead it's suggest to use AC_USE_SYSTEM_EXTENSIONS

http://www.archivum.info/autoconf-patches@gnu.org/2008-08/msg00015.html


Actually, replacing AC_AIX and AC_MINIX by AC_USE_SYSTEM_EXTENSIONS
in configure.ac makes the warning go away.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------



More information about the mc-devel mailing list