[3468] in Kerberos-V5-bugs
[krbdev.mit.edu #1188] aclocal.m4 should use AC_CONFIG_FILES
daemon@ATHENA.MIT.EDU (Ezra Peisach via RT)
Wed Sep 18 14:56:11 2002
Message-Id: <rt-1188-3053.7.53207029024395@krbdev.mit.edu>
In-Reply-To: <rt-1188@krbdev.mit.edu>
From: "Ezra Peisach via RT" <rt-comment@krbdev.mit.edu>
Reply-To: rt-comment@krbdev.mit.edu
To: krb5-prs@mit.edu
Errors-To: krb5-bugs-admin@mit.edu
Date: Wed, 18 Sep 2002 14:55:51 -0400 (EDT)
In autoconf 2.52 and up, the use of AC_OUTPUT with a list of
files is deprecated by the use of AC_CONFIG_FILES.
In order to use this, we need to do away with the for loop
in K5_GEN_MAKEFILE code - as it confuses the AC_CONFIG_FILES - it
only allows one to specify a file one time.
The added benefit, is that eventually, we will be able to
do something like "./config.status lib/Makefile" and have it
generate the proper Makefile.
I have a simple patch that replaces AC_OUTPUT by AC_CONFIG_FILES that
works. The only problem is that for the code to generate a single Makefile,
krb5_pre_in and krb5_post_in cannot be shell variables and must be
expanded when the configure script is made. I am working on this now.
Initially - this change reduces the size of configure by 20-40K depending
on the number of subdirs having Makefiles output.
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
http://mailman.mit.edu/mailman/listinfo/krb5-bugs