summaryrefslogtreecommitdiff
path: root/t/cxx-lt-demo.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/cxx-lt-demo.sh')
-rw-r--r--t/cxx-lt-demo.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/cxx-lt-demo.sh b/t/cxx-lt-demo.sh
index 7f73f931b..faf18bdd8 100644
--- a/t/cxx-lt-demo.sh
+++ b/t/cxx-lt-demo.sh
@@ -94,10 +94,12 @@ $AUTOCONF
$AUTOMAKE --add-missing --copy
ls -l . ax # For debugging.
-for f in ltmain.sh depcomp config.guess config.sub; do
+# Ideally, the 'compile' script should not be required by C++ compilers.
+# But alas, LT_INIT seems to invoke AC_PROG_CC anyway, and that brings in
+# that script.
+for f in ltmain.sh depcomp compile config.guess config.sub; do
test -f ax/$f && test ! -h ax/$f || exit 1
done
-test ! -e ax/compile # Not required by C++ compilers.
cat > src/main.cc << 'END'
#include "libfoo.h++"