summaryrefslogtreecommitdiff
path: root/t/distcom2.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/distcom2.sh')
-rw-r--r--t/distcom2.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/distcom2.sh b/t/distcom2.sh
index 57154d97c..1f39b6679 100644
--- a/t/distcom2.sh
+++ b/t/distcom2.sh
@@ -22,7 +22,6 @@
cat >> configure.ac << 'END'
AC_PROG_CC
-AM_PROG_CC_C_O
AC_CONFIG_FILES([subdir/Makefile])
AC_OUTPUT
END
@@ -44,6 +43,8 @@ $ACLOCAL
for opt in '' --no-force; do
+ rm -f compile depcomp
+
$AUTOMAKE $opt --add-missing
test -f compile
@@ -74,7 +75,7 @@ for opt in '' --no-force; do
$FGREP ' $(top_srcdir)/depcomp ' subdir/dc.txt
# The 'compile' script will be listed in the DIST_COMMON of the top-level
- # Makefile because it's required in configure.ac (by AM_PROG_CC_C_O).
+ # Makefile because it's required in configure.ac (by AC_PROG_CC).
$FGREP ' $(top_srcdir)/compile ' dc.txt || $FGREP ' compile ' dc.txt
done