[asterisk-dev] autoconf errors

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Dec 14 19:26:33 MST 2006


Hi

I get the following errors from running autoconf on 1.4 (48475)

$ autoconf
configure.ac:259: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:421: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/functions.m4:1677: AC_FUNC_STRNLEN is expanded from...
configure.ac:259: the top level
configure.ac:259: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
configure.ac:259: warning: AC_COMPILE_IFELSE was called before AC_AIX
../../lib/autoconf/specific.m4:455: AC_AIX is expanded from...
configure.ac:259: warning: AC_RUN_IFELSE was called before AC_AIX
configure.ac:259: warning: AC_COMPILE_IFELSE was called before AC_MINIX
../../lib/autoconf/specific.m4:474: AC_MINIX is expanded from...
configure.ac:259: warning: AC_RUN_IFELSE was called before AC_MINIX


I fail to find ../../lib/autoconf/ . There is no /usr/lib/autoconf.
There are no ../lib or ../../lib . /usr/share/autoconf/autoconf contains the
standard autoconf files, including specific.m4 . 

Running an strace of things, I can't really figure out whereconfigure.ac
is called. Line 259 of configure.ac seems rather harmless.

I initially had an older version of autoconf installed. this has been
removed from the system. I have double checked that. 


Fix for that, which I don't really understand: remove that offending 
STRLEN line.

===================================================================
--- configure.ac        (revision 48475)
+++ configure.ac        (working copy)
@@ -256,7 +256,6 @@
 AC_FUNC_STAT
 AC_FUNC_STRCOLL
 AC_FUNC_STRFTIME
-AC_FUNC_STRNLEN
 AC_FUNC_STRTOD
 AC_FUNC_UTIME_NULL
 AC_FUNC_VPRINTF

autoconf 2.61 on Debian Etch.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-dev mailing list