autoconf
[Top][All Lists]
Advanced

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

Re: AC_FUNC_ALLOCA Is Screwing Me


From: Paul Eggert
Subject: Re: AC_FUNC_ALLOCA Is Screwing Me
Date: 24 Feb 2004 10:10:47 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

"Drummonds, Scott B" <address@hidden> 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],address@hidden)
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]