required='libtoolize c++'
am_create_testdir=empty
-. ./defs || Exit 1
+. test-init.sh
cat > configure.ac << 'END'
AC_INIT([GNU C++/Libtool Demo], [0.73], [bug-automake@gnu.org])
check-local: test-objs
test-objs:
test -f src/main.$(OBJEXT)
- test -f lib/libfoo.$(OBJEXT)
+ test -f lib/libfoo.lo
END
cat > src/Makefile.am << 'END'
ls -l . ax # For debugging.
for f in ltmain.sh depcomp config.guess config.sub; do
- test -f ax/$f && test ! -h ax/$f || Exit 1
+ test -f ax/$f && test ! -h ax/$f || exit 1
done
-test ! -f ax/compile # Not required by C++ compilers.
+test ! -e ax/compile # Not required by C++ compilers.
cat > src/main.cc << 'END'
#include "libfoo.h++"