diff options
Diffstat (limited to 'tests/specflg6.test')
-rwxr-xr-x | tests/specflg6.test | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/specflg6.test b/tests/specflg6.test index d85876986..b02dbbaa3 100755 --- a/tests/specflg6.test +++ b/tests/specflg6.test @@ -1,5 +1,6 @@ #! /bin/sh -# Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2004, 2010, 2011 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 @@ -23,7 +24,7 @@ cat >> configure.in << 'END' AC_PROG_CC AM_PROG_CC_C_O -AM_CONDITIONAL(BAR, true) +AM_CONDITIONAL([BAR], [true]) END cat > Makefile.am << 'END' @@ -38,8 +39,8 @@ END : > compile -$ACLOCAL || Exit 1 -$AUTOMAKE || Exit 1 +$ACLOCAL +$AUTOMAKE uncondval=`$FGREP 'foo-foo.o: foo.c' Makefile.in` @@ -47,8 +48,10 @@ cat >> Makefile.am << 'END' foo_SOURCES += $(BAR_SRCS) END -$AUTOMAKE || Exit 1 +$AUTOMAKE condval=`$FGREP 'foo-foo.o: foo.c' Makefile.in` test "x$uncondval" = "x$condval" + +: |