mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-05 11:10:57 +08:00
* tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
non-suffix rule. ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of non-GNU make. (autoconfdir, $(AUTOCONF_FILES)): Likewise. * tests/mktests.sh: Small shell portability fixes.
This commit is contained in:
parent
bb44ff85bc
commit
66bf4ecdc9
@ -1,3 +1,12 @@
|
|||||||
|
2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
|
* tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
|
||||||
|
non-suffix rule.
|
||||||
|
($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
|
||||||
|
non-GNU make.
|
||||||
|
(autoconfdir, $(AUTOCONF_FILES)): Likewise.
|
||||||
|
* tests/mktests.sh: Small shell portability fixes.
|
||||||
|
|
||||||
2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
* doc/autoconf.texi (Caching Results): Fix the examples to use a
|
* doc/autoconf.texi (Caching Results): Fix the examples to use a
|
||||||
|
@ -63,10 +63,11 @@ edit = sed \
|
|||||||
-e 's|@wrap_program[@]|$@|g' \
|
-e 's|@wrap_program[@]|$@|g' \
|
||||||
-e 's|@abs_top_srcdir[@]|@abs_top_srcdir@|g' \
|
-e 's|@abs_top_srcdir[@]|@abs_top_srcdir@|g' \
|
||||||
-e 's|@abs_top_builddir[@]|@abs_top_builddir@|g' \
|
-e 's|@abs_top_builddir[@]|@abs_top_builddir@|g' \
|
||||||
-e 's|@configure_input[@]|Generated from $<.|g'
|
-e "s|@configure_input[@]|Generated from $$input.|g"
|
||||||
|
|
||||||
$(wrappers): wrapper.in
|
$(wrappers): wrapper.in
|
||||||
rm -f $@ $@.tmp
|
rm -f $@ $@.tmp
|
||||||
|
input=wrapper.in; \
|
||||||
$(edit) wrapper.in >$@.tmp
|
$(edit) wrapper.in >$@.tmp
|
||||||
chmod +x $@.tmp
|
chmod +x $@.tmp
|
||||||
chmod a-w $@.tmp
|
chmod a-w $@.tmp
|
||||||
@ -79,11 +80,19 @@ $(wrappers): wrapper.in
|
|||||||
## ------------ ##
|
## ------------ ##
|
||||||
|
|
||||||
TESTSUITE_GENERATED_AT = \
|
TESTSUITE_GENERATED_AT = \
|
||||||
aclang.at acc.at acfortran.at \
|
$(srcdir)/aclang.at \
|
||||||
acgeneral.at acstatus.at \
|
$(srcdir)/acc.at \
|
||||||
acautoheader.at acautoupdate.at \
|
$(srcdir)/acfortran.at \
|
||||||
acspecific.at acfunctions.at acheaders.at actypes.at \
|
$(srcdir)/acgeneral.at \
|
||||||
aclibs.at acprograms.at
|
$(srcdir)/acstatus.at \
|
||||||
|
$(srcdir)/acautoheader.at \
|
||||||
|
$(srcdir)/acautoupdate.at \
|
||||||
|
$(srcdir)/acspecific.at \
|
||||||
|
$(srcdir)/acfunctions.at \
|
||||||
|
$(srcdir)/acheaders.at \
|
||||||
|
$(srcdir)/actypes.at \
|
||||||
|
$(srcdir)/aclibs.at \
|
||||||
|
$(srcdir)/acprograms.at
|
||||||
|
|
||||||
TESTSUITE_HAND_AT = \
|
TESTSUITE_HAND_AT = \
|
||||||
suite.at \
|
suite.at \
|
||||||
@ -134,10 +143,10 @@ MAINTAINERCLEANFILES += $(TESTSUITE_GENERATED_AT)
|
|||||||
|
|
||||||
## Producing the test files.
|
## Producing the test files.
|
||||||
|
|
||||||
# The files which contains macro we check for syntax. Don't use $(top_srcdir)
|
# The files which contains macro we check for syntax. Use $(top_srcdir)
|
||||||
# here since below we explicitly `cd' to $srcdir. As for the dependencies,
|
# for the benefit of non-GNU make. Fix the names in the rule below
|
||||||
# thanks God for VPATH. Hm...
|
# where we `cd' to $srcdir.
|
||||||
autoconfdir = ../lib/autoconf
|
autoconfdir = $(top_srcdir)/lib/autoconf
|
||||||
AUTOCONF_FILES = $(autoconfdir)/general.m4 \
|
AUTOCONF_FILES = $(autoconfdir)/general.m4 \
|
||||||
$(autoconfdir)/status.m4 \
|
$(autoconfdir)/status.m4 \
|
||||||
$(autoconfdir)/autoheader.m4 \
|
$(autoconfdir)/autoheader.m4 \
|
||||||
@ -153,7 +162,8 @@ AUTOCONF_FILES = $(autoconfdir)/general.m4 \
|
|||||||
$(autoconfdir)/programs.m4
|
$(autoconfdir)/programs.m4
|
||||||
|
|
||||||
$(TESTSUITE_GENERATED_AT): mktests.sh $(AUTOCONF_FILES)
|
$(TESTSUITE_GENERATED_AT): mktests.sh $(AUTOCONF_FILES)
|
||||||
cd $(srcdir) && ./mktests.sh $(AUTOCONF_FILES)
|
cd $(srcdir) && ./mktests.sh \
|
||||||
|
`echo " "$(AUTOCONF_FILES) | sed 's, [^ ]*/, ../lib/autoconf/,g'`
|
||||||
|
|
||||||
|
|
||||||
## maintainer-check ##
|
## maintainer-check ##
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Build some of the Autoconf test files.
|
# Build some of the Autoconf test files.
|
||||||
|
|
||||||
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software
|
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software
|
||||||
# Foundation, Inc.
|
# Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
@ -28,7 +28,7 @@ as_me=`echo "$0" | sed 's,.*[\\/],,'`
|
|||||||
|
|
||||||
trap 'echo "'"$as_me"': failed. To proceed run make check." >&2
|
trap 'echo "'"$as_me"': failed. To proceed run make check." >&2
|
||||||
rm -f acdefuns audefuns requires *.tat
|
rm -f acdefuns audefuns requires *.tat
|
||||||
for file in "$@"
|
for file
|
||||||
do
|
do
|
||||||
touch `echo "$file" | sed "s,.*[\\/],,;s/\..*/.at/"`
|
touch `echo "$file" | sed "s,.*[\\/],,;s/\..*/.at/"`
|
||||||
done
|
done
|
||||||
@ -46,9 +46,9 @@ test $# != 0
|
|||||||
src="$@"
|
src="$@"
|
||||||
|
|
||||||
# Set locale to C so that `sort' behaves in a uniform way.
|
# Set locale to C so that `sort' behaves in a uniform way.
|
||||||
export LANGUAGE; LANGUAGE=C
|
LANGUAGE=C; export LANGUAGE
|
||||||
export LANG; LANG=C
|
LANG=C; export LANG
|
||||||
export LC_ALL; LC_ALL=C
|
LC_ALL=C export LC_ALL
|
||||||
|
|
||||||
|
|
||||||
# requires
|
# requires
|
||||||
|
Loading…
Reference in New Issue
Block a user