* acgeneral.m4 (AC_LIBOBJ_DECL): Remove.

(AC_LIBSOURCES, AC_LIBSOURCE): New.
* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Remove configure.ac
This commit is contained in:
Akim Demaille 2001-02-03 13:20:00 +00:00
parent 7e51af06ed
commit 3282fd3c7a
6 changed files with 54 additions and 15 deletions

View File

@ -1,3 +1,25 @@
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
@ -12,6 +34,7 @@
(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
@ -19,7 +42,7 @@
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>

View File

@ -2983,10 +2983,18 @@ $3],
## -------------------------------- ##
# 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)
@ -2995,7 +3003,7 @@ m4_define([AC_LIBOBJ_DECL], [])
# 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"])

View File

@ -2983,10 +2983,18 @@ $3],
## -------------------------------- ##
# 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)
@ -2995,7 +3003,7 @@ m4_define([AC_LIBOBJ_DECL], [])
# 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"])

View File

@ -1,5 +1,5 @@
.\" 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

View File

@ -1,5 +1,5 @@
.\" 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

View File

@ -228,7 +228,7 @@ AT_DATA([configure.ac],
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!])
@ -236,7 +236,7 @@ fi
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
]])