"Drummonds, Scott B" <scott.b.drummonds@xxxxxxxxx> writes: > In my environment, if AC_PROG_CC precedes AC_FUNC_ALLOCA, AC_HEADER_STDC > is called without having $ac_objext set. If AC_PROG_CC succeeds > AC_FUNC_ALLOCA, $ac_objext is set appropriately and the header check > passes. I can't reproduce that problem. Here's what I did: $ autoconf --version | sed 1q autoconf (GNU Autoconf) 2.59 $ cat Makefile.in $ cat configure.ac AC_INIT([test],[1.0],[nobody@xxxxxxx]) AC_PROG_CC AC_FUNC_ALLOCA AC_CONFIG_FILES([Makefile]) AC_OUTPUT $ autoconf $ sh configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for working alloca.h... yes checking for alloca... yes configure: creating ./config.status config.status: creating Makefile