Tag
Hash :
b9ccfe5e
Author :
Date :
2002-04-12T15:28:15
* automake.in (scan_autoconf_traces) <AC_SUBST>: Ignore ANSI2KNR and AMDEPBACKSLASH. * tests/distcommon2.test: Use a full configure.in that calls AC_INIT. * tests/ext.test: Enable dependencies for OBJC. * tests/libobj.test, tests/libobj6.test, tests/libobj9.test: Delete. They tests for different flavors of $LIBOBJS assignments that wont be supported anymore. * tests/libobj2.test, tests/libobj10.test: Use AC_LIBOBJ. * tests/obsolete.test: Don't test Automake. * tests/suffix5.test: Require libtool. * tests/Makefile.am (TESTS): Remove libobj.test, libobj6.test and libobj9.test.
#! /bin/sh
# Test to make sure extensions are set correctly for various languages.
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
AC_PROG_F77
_AM_DEPENDENCIES(OBJC)
AC_SUBST(OBJC)
END
cat > Makefile.am << 'END'
bin_PROGRAMS = foo
foo_SOURCES = 1.f 2.for 3.f90 4.F 5.r 6.m
END
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
for ext in f for f90 F r m
do
grep "^$ext\.o:" Makefile.in && exit 1
done
exit 0