(AC_LIBSOURCES, AC_LIBSOURCE): New.
* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Remove configure.ac
+2001-02-03 Akim Demaille <akim@epita.fr>
+
+ * acgeneral.m4 (AC_LIBOBJ_DECL): Remove.
+ (AC_LIBSOURCES, AC_LIBSOURCE): New.
+
+ * acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Remove configure.ac
+
+<<<<<<< ChangeLog
+2001-02-02 Akim Demaille <akim@epita.fr>
+
+ * tests/base.at (AC_TRY_COMMAND): Fix the test.
+ From Nicolas Joly.
+
+ The following patch went into Autoconf between the two previous
+ entries:
+
+ * acgeneral.m4 (AC_TRY_COMMAND): Use the old code, using a tmp
+ variable, to recover multiline robustness.
+ Reported by Tim Van Holder.
+ * tests/base.at (AC_TRY_COMMAND): New.
+
+=======
2001-02-02 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Rename all occurences
(scan_sh_file): Likewise.
Thanks to Jim Meyering for improved implementation.
+>>>>>>> 1.1270
2001-02-01 Pavel Roskin <proski@gnu.org>
* autoreconf.sh: Fix the case when the verbose output was not
2001-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
- * acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Remove configure.ac
+ * acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Remove configure.ac
from check for ac_sub_configure.
2001-01-30 Akim Demaille <akim@epita.fr>
## -------------------------------- ##
-# AC_LIBOBJ_DECL(FILENAME-NOEXT)
-# ------------------------------
-# Announce we might need the file `FILENAME-NOEXT.c'.
-m4_define([AC_LIBOBJ_DECL], [])
+# AC_LIBSOURCE(FILENAME)
+# ----------------------
+# Announce we might need the file `FILENAME'.
+m4_define([AC_LIBSOURCE], [])
+
+
+# AC_LIBSOURCES([FILENAME1, ...])
+# -------------------------------
+# Announce we might need these files.
+m4_define([AC_LIBSOURCES],
+[m4_foreach([_AC_FILENAME], [$1],
+ [AC_LIBSOURCE(_AC_FILENAME)])])
# _AC_LIBOBJ(FILENAME-NOEXT, ACTION-IF-INDIR)
# We don't use AC_SUBST/2 because it forces an unneeded eol.
m4_define([_AC_LIBOBJ],
[AS_LITERAL_IF([$1],
- [AC_LIBOBJ_DECL([$1])],
+ [AC_LIBSOURCE([$1])],
[$2])dnl
AC_SUBST([LIBOBJS])dnl
LIBOBJS="$LIBOBJS $1.$ac_objext"])
## -------------------------------- ##
-# AC_LIBOBJ_DECL(FILENAME-NOEXT)
-# ------------------------------
-# Announce we might need the file `FILENAME-NOEXT.c'.
-m4_define([AC_LIBOBJ_DECL], [])
+# AC_LIBSOURCE(FILENAME)
+# ----------------------
+# Announce we might need the file `FILENAME'.
+m4_define([AC_LIBSOURCE], [])
+
+
+# AC_LIBSOURCES([FILENAME1, ...])
+# -------------------------------
+# Announce we might need these files.
+m4_define([AC_LIBSOURCES],
+[m4_foreach([_AC_FILENAME], [$1],
+ [AC_LIBSOURCE(_AC_FILENAME)])])
# _AC_LIBOBJ(FILENAME-NOEXT, ACTION-IF-INDIR)
# We don't use AC_SUBST/2 because it forces an unneeded eol.
m4_define([_AC_LIBOBJ],
[AS_LITERAL_IF([$1],
- [AC_LIBOBJ_DECL([$1])],
+ [AC_LIBSOURCE([$1])],
[$2])dnl
AC_SUBST([LIBOBJS])dnl
LIBOBJS="$LIBOBJS $1.$ac_objext"])
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH AUTORECONF "1" "January 2001" "GNU Autoconf 2.49d" FSF
+.TH AUTORECONF "1" "February 2001" "GNU Autoconf 2.49d" FSF
.SH NAME
autoreconf \- Update generated configuration files
.SH SYNOPSIS
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
-.TH AUTOSCAN "1" "January 2001" "GNU Autoconf 2.49d" FSF
+.TH AUTOSCAN "1" "February 2001" "GNU Autoconf 2.49d" FSF
.SH NAME
autoscan \- Generate a preliminary configure.in
.SH SYNOPSIS
if AC_TRY_COMMAND([(echo "The Cat in the Hat"
echo "The Hat in the Cat" >&2)
- | grep ^The\ Cat\ in\ The\ Hat\$ >/dev/null]); then
+ | grep ^The\ Cat\ in\ the\ Hat\$ >/dev/null]); then
# Cool!
else
AC_MSG_ERROR([Didn't see the Cat in the Hat!])
if AC_TRY_COMMAND([(echo "The Cat in the Hat"
echo "The Hat in the Cat" >&2)
- | grep ^The\ Hat\ in\ The\ Cat\$ >/dev/null]); then
+ | grep ^The\ Hat\ in\ the\ Cat\$ >/dev/null]); then
AC_MSG_ERROR([Saw the Hat in the Cat!])
fi
]])