* configure.in: Bump version to 1.5b.
[automake.git] / tests / libobj10.test
blob6ac2dfed1e3bbc7c74b09a14216ab1e069823aff
1 #! /bin/sh
3 # Do not complain about the inexistence of a source for LIBOBJS if
4 # it's in BUILT_SOURCES. Reported by Erez Zadok
6 . $srcdir/defs || exit 1
8 cat > configure.in << 'END'
9 AC_INIT
10 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
11 AC_PROG_CC
12 AC_PROG_RANLIB
13 LIBOBJS="$LIBOBJS foo.o"
14 AC_OUTPUT(Makefile)
15 END
17 cat > Makefile.am << 'END'
18 noinst_LIBRARIES = libfoo.a
19 libfoo_a_LIBADD = @LIBOBJS@
20 END
22 $ACLOCAL || exit 1
23 $AUTOMAKE && exit 1
25 echo 'BUILT_SOURCES = foo.c' >> Makefile.am
27 $AUTOMAKE || exit 1