This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Switching from obsolete AC_OUTPUT syntax
- From: Jeff Bailey <jbailey at nisa dot net>
- To: libc-alpha at sources dot redhat dot com
- Date: Fri, 18 Oct 2002 15:14:31 -0700
- Subject: Switching from obsolete AC_OUTPUT syntax
This is the last of the changes I have queued up. There's a few
places where the autoconf manual says that we should be quoting more
than we are. If you're interested, I can gather those up and submit a
patch sometime over the next week.
2002-10-18 Jeff Bailey <jbailey@gnu.org>
* configure.in: Replace obsolete AC_OUTPUT syntax with
AC_CONFIG_FILES, AC_CONFIG_COMMANDS, and new-type
AC_OUTPUT trio.
Index: configure.in
===================================================================
RCS file: /cvs/glibc/libc/configure.in,v
retrieving revision 1.369
diff -u -p -r1.369 configure.in
--- configure.in 18 Oct 2002 20:54:53 -0000 1.369
+++ configure.in 18 Oct 2002 21:50:06 -0000
@@ -1872,8 +1872,10 @@ RELEASE=`sed -n -e 's/^#define RELEASE "
AC_SUBST(VERSION)
AC_SUBST(RELEASE)
-AC_OUTPUT(config.make glibcbug ${config_makefile} ${config_uname}, [
+AC_CONFIG_FILES([config.make glibcbug ${config_makefile} ${config_uname}])
+AC_CONFIG_COMMANDS([default],[[
case $CONFIG_FILES in *config.make*)
echo "$config_vars" >> config.make;;
esac
-test -d bits || mkdir bits], [config_vars='$config_vars'])
+test -d bits || mkdir bits]],[[config_vars='$config_vars']])
+AC_OUTPUT
--
learning from failures is nice in theory...
but in practice, it sucks :)
- Wolfgang Jaehrling