I'm looking through old bugs before uploading 2.67.
I can confirm that this bug is still present in Autoconf 2.67.
The test case outputs the following from "autoconf":
configure.ac:18: warning: AC_REQUIRE: `AC_PROG_CC' was expanded before it
was required
../../lib/autoconf/c.m4:429: AC_LANG_COMPILER(C) is expanded from...
../../lib/autoconf/lang.m4:316: AC_LANG_COMPILER_REQUIRE is expanded from...
../../lib/autoconf/general.m4:2594: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
../../lib/autoconf/general.m4:2019: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2040: AC_CACHE_CHECK is expanded from...
../../lib/autoconf/c.m4:1436: AC_C_BIGENDIAN is expanded from...
configure.ac:9: TEST_INIT is expanded from...
configure.ac:18: the top level
and the following from subsequent "configure":
1
2
checking for gcc... gcc
checking whether we are using the GNU C compiler... no
checking whether gcc accepts -g... no
checking for gcc option to accept ISO C89... unsupported
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
test1
checking for gcc... (cached) gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... (cached) no
checking whether gcc accepts -g... (cached) no
checking for gcc option to accept ISO C89... (cached) unsupported
test2
checking whether byte ordering is bigendian... no
test3
3
checking for unistd.h... (cached) no
configure: error: unistd.h not available?
--
Ben Pfaff
http://benpfaff.org
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]