summaryrefslogtreecommitdiff
path: root/tests/fortdep.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fortdep.test')
-rwxr-xr-xtests/fortdep.test17
1 files changed, 8 insertions, 9 deletions
diff --git a/tests/fortdep.test b/tests/fortdep.test
index 8e622984f..585e7c15a 100755
--- a/tests/fortdep.test
+++ b/tests/fortdep.test
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2002, 2010 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -19,24 +19,23 @@
. ./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)
+set -e
+
+cat >> configure.in << 'END'
+AC_CONFIG_SRCDIR([foo.f])
AC_PROG_F77
-AC_OUTPUT(Makefile)
+AC_OUTPUT
END
cat > Makefile.am << 'END'
-AUTOMAKE_OPTIONS=foreign
bin_PROGRAMS=foo
foo_SOURCES=foo.f
END
: > foo.f
-$ACLOCAL || Exit 1
-$AUTOMAKE || Exit 1
+$ACLOCAL
+$AUTOMAKE
grep 'foo\.Po' Makefile.in && Exit 1
Exit 0