Remove.
We _have_ to stop using the old compatibility scheme that tried to
avoid useless backslashes because Libtool 1.4.3 contains a
AC_DEFINE([error_t], [int],
[Define to a type to use for `error_t' if it is not
otherwise available.])
We _have_ to quote the single quote and backslashes with . The
old compatibility scheme saw that ` was backslashed, and therefore
did not quote the single quote. Hence before this patch, Autoconf
was not compatible with Libtool.
+2002-11-05 Akim Demaille <akim@epita.fr>
+
+ * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
+ Remove.
+ We _have_ to stop using the old compatibility scheme that tried to
+ avoid useless backslashes because Libtool 1.4.3 contains a
+ AC_DEFINE([error_t], [int],
+ [Define to a type to use for \`error_t' if it is not
+ otherwise available.])
+ We _have_ to quote the single quote and backslashes with \. The
+ old compatibility scheme saw that ` was backslashed, and therefore
+ did not quote the single quote. Hence before this patch, Autoconf
+ was not compatible with Libtool.
+
2002-11-04 Paul Eggert <eggert@twinsun.com>
* lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
-# Makefile.in generated by automake 1.7.1 from Makefile.am.
+# Makefile.in generated by automake 1.7a from Makefile.am.
# @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
Makefile.in NEWS README-alpha THANKS TODO aclocal.m4 configure \
configure.ac
-DIST_SUBDIRS = $(SUBDIRS)
+DIST_SUBDIRS = bin tests . lib config man doc
all: all-recursive
.SUFFIXES:
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
-$(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
+$(srcdir)/configure: $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): configure.ac config/m4.m4
|| exit 1; \
fi; \
done
- list='$(SUBDIRS)'; for subdir in $$list; do \
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -d $(distdir)/$$subdir \
|| mkdir $(distdir)/$$subdir \
-* Major changes in Autoconf 2.54d -*- outline -*-
+* Major changes in Autoconf 2.54c -*- outline -*-
\f
Release tips:
Have your configure.ac checked by autoscan ("autoscan").
- Try the warning options ("autoreconf -fv -Wall").
+ Try the warning options ("autoreconf -fv -Wall").
** Documentation
should be avoided in configure.ac. Running autoupdate is advised.
AC_DECL_SYS_SIGLIST.
+- AC_DEFINE/AC_DEFINE_UNQUOTED
+
+ We have to stop using the old compatibility scheme --that tried to
+ avoid useless backslashes-- because Libtool 1.4.3 contains a
+
+ AC_DEFINE([error_t], [int],
+ [Define to a type to use for \`error_t' if it is not
+ otherwise available.])
+
+ We have to quote the single quotes and backslashes with \. The old
+ compatibility scheme saw that ` was backslashed, and therefore did
+ not quote the single quote... Failure. Hence, Autoconf 2.54 is not
+ compatible with Libtool. Autoconf 2.55 is, but in some cases might
+ produce more \ than wanted.
+
+ Please, note that in the future the same problem will happen with
+ AC_MSG_*: use `autoreconf -f -Wall'.
+
** Bug Fixes
- Portability of the Autoconf package to Solaris.
Autoconf 2.55 on it, and report the results to
bug-autoconf@gnu.org.
+- AC_MSG_*
+
+ Special characters in AC_MSG_* need not be quoted. Currently,
+ Autoconf has heuristics to decide when a string is escaped, or has
+ to be escaped. This scheme is fragile, and will be removed; the
+ only risk is uglified messages. Please, run `autoreconf -f -Wall'
+ to find occurrences that will be affected.
* Major changes in Autoconf 2.54
-# generated automatically by aclocal 1.7.1 -*- Autoconf -*-
+# generated automatically by aclocal 1.7a -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been
# generated from the m4 files accompanying Automake X.Y.
-AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
+AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7a"])
# AM_SET_CURRENT_AUTOMAKE_VERSION
# -------------------------------
# Call AM_AUTOMAKE_VERSION so it can be traced.
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
- [AM_AUTOMAKE_VERSION([1.7.1])])
+ [AM_AUTOMAKE_VERSION([1.7a])])
# Helper functions for option handling. -*- Autoconf -*-
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.54d for GNU Autoconf 2.54d.
+# Generated by GNU Autoconf 2.54c for GNU Autoconf 2.54d.
#
# Report bugs to <bug-autoconf@gnu.org>.
#
PS4='+ '
# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
+for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
do
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
eval $as_var=C; export $as_var
if $ac_init_version; then
cat <<\_ACEOF
GNU Autoconf configure 2.54d
-generated by GNU Autoconf 2.54d
+generated by GNU Autoconf 2.54c
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
running configure, to aid debugging if configure makes a mistake.
It was created by GNU Autoconf $as_me 2.54d, which was
-generated by GNU Autoconf 2.54d. Invocation command line was
+generated by GNU Autoconf 2.54c. Invocation command line was
$ $0 $@
ac_config_files="$ac_config_files config/Makefile"
-am__api_version="1.7"
+am__api_version="1.7a"
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# incompatible versions:
PS4='+ '
# NLS nuisances.
-for as_var in \
- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
- LC_TELEPHONE LC_TIME
+for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
do
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
eval $as_var=C; export $as_var
cat >&5 <<_CSEOF
This file was extended by GNU Autoconf $as_me 2.54d, which was
-generated by GNU Autoconf 2.54d. Invocation command line was
+generated by GNU Autoconf 2.54c. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
GNU Autoconf config.status 2.54d
-configured by $0, generated by GNU Autoconf 2.54d,
+configured by $0, generated by GNU Autoconf 2.54c,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
])
-# _AH_VERBATIM_OLD(KEY, TEMPLATE)
-# -------------------------------
-# Same as above, but with bugward compatibility.
-#
-# Quote for Perl '' strings, which are those used by Autoheader.
-m4_define([_AH_VERBATIM_OLD],
-[AS_LITERAL_IF([$1],
- [AH_OUTPUT([$1], _AS_QUOTE([[$2]], [\\'']))])
-])
-
-
# AH_TEMPLATE(KEY, DESCRIPTION)
# -----------------------------
# Issue an autoheader template for KEY, i.e., a comment composed of
#undef $1])])
-# _AH_TEMPLATE_OLD(KEY, DESCRIPTION)
-# ----------------------------------
-# Same as above, but with bugward compatibility.
-m4_define([_AH_TEMPLATE_OLD],
-[_AH_VERBATIM_OLD([$1],
- m4_text_wrap([$2 */], [ ], [/* ])[
-#undef $1])])
-
-
# AH_TOP(TEXT)
# ------------
# Output TEXT at the top of `config.h.in'.
# die. The third argument is used by autoheader.
m4_define([AC_DEFINE],
[AC_DEFINE_TRACE([$1])dnl
-m4_ifval([$3], [_AH_TEMPLATE_OLD([$1], [$3])])dnl
+m4_ifval([$3], [AH_TEMPLATE([$1], [$3])])dnl
cat >>confdefs.h <<\_ACEOF
[@%:@define] $1 m4_if($#, 2, [$2], $#, 3, [$2], 1)
_ACEOF
# Similar, but perform shell substitutions $ ` \ once on VALUE.
m4_define([AC_DEFINE_UNQUOTED],
[AC_DEFINE_TRACE([$1])dnl
-m4_ifval([$3], [_AH_TEMPLATE_OLD([$1], [$3])])dnl
+m4_ifval([$3], [AH_TEMPLATE([$1], [$3])])dnl
cat >>confdefs.h <<_ACEOF
[@%:@define] $1 m4_if($#, 2, [$2], $#, 3, [$2], 1)
_ACEOF