From 08db0c420204dd07ca96a6d2f9c892c5a608ac49 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sat, 29 Dec 2012 09:47:33 +0100 Subject: tests: better names for temporary configure.ac files When editing a pre-existent 'configure.ac' file in a test script, name the temporary file 'configure.tmp' rather than 'configure.int'; the latter was a relict of the times when we used 'configure.in' as the default name for the Autoconf input files throughout the testsuite. * t/cond43.sh: Adjust. * t/depcomp8a.sh: Likewise. * t/depcomp8b.sh: Likewise. * t/gettext.sh: Likewise. * t/mmode.sh: Likewise. * t/pr401.sh: Likewise. * t/pr401b.sh: Likewise. * t/pr401c.sh: Likewise. * t/python11.sh: Likewise. * t/cond42.sh: Likewise. Also, while at it, rename ... (edit_configure_in): ... this function ... (edit_configure_ac): ... like this. Signed-off-by: Stefano Lattarini --- t/pr401b.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 't/pr401b.sh') diff --git a/t/pr401b.sh b/t/pr401b.sh index 61935879a..ad88b37e1 100755 --- a/t/pr401b.sh +++ b/t/pr401b.sh @@ -94,8 +94,8 @@ $MAKE distcheck # Invocation of AC_CONFIG_LIBOBJ_DIR may be necessary for reasons # unrelated to Automake or Makefile.am layout. -sed 's/#: //' configure.ac >configure.int -mv -f configure.int configure.ac +sed 's/#: //' configure.ac >configure.tmp +mv -f configure.tmp configure.ac $ACLOCAL $AUTOCONF @@ -118,8 +118,8 @@ mv -f src/t src/Makefile.am ## Test using LTLIBOBJS from a sibling directory. ## ## ---------------------------------------------- ## -sed 's/#x //; s/lib\/Makefile //' configure.ac >configure.int -mv -f configure.int configure.ac +sed 's/#x //; s/lib\/Makefile //' configure.ac >configure.tmp +mv -f configure.tmp configure.ac cat >Makefile.am <<'EOF' SUBDIRS = src @@ -155,8 +155,8 @@ $MAKE distclean ## Test using LTLIBOBJS from parent directory. ## ## ------------------------------------------- ## -sed 's/^.*src\/Makefile.*$//' configure.ac >configure.int -mv -f configure.int configure.ac +sed 's/^.*src\/Makefile.*$//' configure.ac >configure.tmp +mv -f configure.tmp configure.ac cat >Makefile.am <<'EOF' AUTOMAKE_OPTIONS = subdir-objects -- cgit v1.2.1