[Top][All Lists]

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

Re: proposed gnulib-related additions to Autoconf

From: Paul Eggert
Subject: Re: proposed gnulib-related additions to Autoconf
Date: Wed, 01 Mar 2006 10:28:56 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

"Gary V. Vaughan" <address@hidden> writes:

>   i) Let's just improve AC_CHECK_HEADERS (et al) to always make configure
>      smaller and faster by despatching to (undocumented internal)
>      _AC_CHECK_HEADERS_ONCE when it can.

Won't that break old scripts?  If they do something like this:

  if test $ac_feature_foo = yes; then

then we'd hoist the test for sys/param.h out of the then-part, which
is not what was intended.

>   ii) I would have thought that use of shell functions in generated
>      configure scripts is safe enough by now

That's the direction I'd like to head too, but it's a big enough
change that it will cause problems.  Let's wait until after 2.60 comes

It might make sense to have an "Autoconf 3" that has a lot of changes
along these lines (I'd like to assume at least C89 and POSIX-2.1992
conformance, for example; sheesh, it's 2006 already!), and reserve
"Autoconf 2" for the current basic approach.

> The uref for Gnulib is wrong.

Thanks, I'll fix that.

reply via email to

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