This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] configure.in tweaks for autoconf-2.5X
On Fri, Oct 18, 2002 at 01:01:17PM -0700, Jeff Bailey wrote:
> On Fri, Oct 18, 2002 at 02:50:05PM -0500, Art Haas wrote:
>
> Using the 0 argument for is also fine in this case. Having those
> arguments defined doesn't really add anything for us:
>
> 2002-10-18 Jeff Bailey <jbailey@gnu.org>
>
> * configure.in: Do not use obsolete AC_INIT syntax. Update
> AC_INIT call to new syntax. Move argument to AC_CONFIG_SRCDIR.
>
> Index: configure.in
> ===================================================================
> RCS file: /cvs/glibc/libc/configure.in,v
> retrieving revision 1.366
> diff -u -p -r1.366 configure.in
> --- configure.in 18 Oct 2002 19:09:01 -0000 1.366
> +++ configure.in 18 Oct 2002 19:56:53 -0000
> @@ -1,7 +1,8 @@
> dnl Process this file with autoconf to produce a configure script.
> AC_REVISION([$CVSid$])
> AC_PREREQ(2.53)dnl dnl Minimum Autoconf version required.
> -AC_INIT(include/features.h)
> +AC_INIT
> +AC_CONFIG_SRCDIR([include/features.h])
> AC_CONFIG_HEADER(config.h)
> AC_CONFIG_AUX_DIR(scripts)
>
A zero-argument AC_INIT works too. :-)
Was there a problem with the AC_CONFIG_HEADER ==> AC_CONFIG_HEADERS
change?
Art Haas
--
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
-- Benjamin Franklin, Historical Review of Pennsylvania, 1759