* automake.texi (Macros): Document AM_PROG_AS.
[automake.git] / tests / number.test
blob3ab95dbb1a228a6ee0832e39e245617b1ffc9b84
1 #! /bin/sh
3 # Test to make sure _OBJECTS only generated once. Bug reported by
4 # Joerg-Martin Schwarz.
6 . $srcdir/defs || exit 1
8 cat >> configure.in << 'END'
9 AC_PROG_CC
10 END
12 cat > Makefile.am << 'END'
13 bin_PROGRAMS = zardoz
14 END
16 $ACLOCAL || exit 1
17 $AUTOMAKE || exit 1
19 count=`grep -c '^zardoz_OBJECTS' Makefile.in`
20 test $count -eq 1