]> sourceware.org Git - automake.git/commitdiff
For PR automake/75:
authorTom Tromey <tromey@redhat.com>
Sun, 27 Aug 2000 23:37:45 +0000 (23:37 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 27 Aug 2000 23:37:45 +0000 (23:37 +0000)
* Makefile.am (TESTS): Added fortdep.test.
* fortdep.test: New file.

tests/ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/fortdep.test [new file with mode: 0755]

index 351aa97648994dd089206b9f77e1bf73201fe305..87e63946f7691822bb35b4228555e75b1d3f11b4 100644 (file)
@@ -1,5 +1,9 @@
 2000-08-27  Tom Tromey  <tromey@cygnus.com>
 
+       For PR automake/75:
+       * Makefile.am (TESTS): Added fortdep.test.
+       * fortdep.test: New file.
+
        For PR automake/68:
        * Makefile.am (TESTS): Added header.test.
        * header.test: New file.
index 3f935bbaa7b1300e5bcf88b3e23b3999b76a817d..4a318a76ecd607c190d73aa65da9c5ce42c2b971 100644 (file)
@@ -107,6 +107,7 @@ flibs.test \
 fnoc.test \
 fo.test        \
 fonly.test \
+fortdep.test \
 fpinst2.test \
 fpinstall.test \
 gcj.test \
index d95e9f9cd44653ba80bd1138a23c6279d9dde871..b996ad9d59f600cd252c19007381d01fa2c728c8 100644 (file)
@@ -174,6 +174,7 @@ flibs.test \
 fnoc.test \
 fo.test        \
 fonly.test \
+fortdep.test \
 fpinst2.test \
 fpinstall.test \
 gcj.test \
diff --git a/tests/fortdep.test b/tests/fortdep.test
new file mode 100755 (executable)
index 0000000..225a750
--- /dev/null
@@ -0,0 +1,27 @@
+#! /bin/sh
+
+# Test to make sure dependency tracking doesn't interfere with Fortran.
+# For PR 75.
+
+. $srcdir/defs || exit 1
+
+cat > configure.in << 'END'
+AC_INIT(foo, 1.0, martin@tropos.de)
+AM_INIT_AUTOMAKE(foo, 1.0)
+AC_CONFIG_SRCDIR(foo.f)
+AC_PROG_F77
+AC_OUTPUT(Makefile)
+END
+
+cat > Makefile.am << 'END'
+AUTOMAKE_OPTIONS=foreign
+bin_PROGRAMS=foo
+foo_SOURCES=foo.f
+END
+
+: > foo.f
+
+$AUTOMAKE || exit 1
+
+grep 'foo\.Po' Makefile.in && exit 1
+exit 0
This page took 0.034059 seconds and 5 git commands to generate.