summaryrefslogtreecommitdiff
path: root/t/pr401b.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-12-29 09:47:33 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-12-29 09:47:33 +0100
commit08db0c420204dd07ca96a6d2f9c892c5a608ac49 (patch)
treeed417d13ec1e50a539323105eef6448fa6b85a1a /t/pr401b.sh
parenta31c991e5f4d58f236e26ab4d3197aa68d564110 (diff)
downloadautomake-08db0c420204dd07ca96a6d2f9c892c5a608ac49.tar.gz
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 <stefano.lattarini@gmail.com>
Diffstat (limited to 't/pr401b.sh')
-rwxr-xr-xt/pr401b.sh12
1 files changed, 6 insertions, 6 deletions
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