* automake.texi (Macros): Document AM_PROG_AS.
[automake.git] / tests / libobj9.test
blobfa9412feffd626f23c176889dca0798a0dbc064e
1 #! /bin/sh
3 # Test for report from Jim Meyering.
4 # LIBOBJS must handle $ac_objext.
6 . $srcdir/defs || exit 1
8 cat > configure.in << 'END'
9 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
10 PACKAGE=nonesuch
11 VERSION=nonesuch
12 AC_PROG_CC
13 AC_PROG_MAKE_SET
14 AC_ARG_PROGRAM
15 AC_PROG_INSTALL
16 AC_PROG_RANLIB
17 AC_EXEEXT
18 LIBOBJS="$LIBOBJS mountlist.$ac_objext"
19 AC_OUTPUT(Makefile)
20 END
22 cat > Makefile.am << 'END'
23 noinst_LIBRARIES = libtu.a
24 libtu_a_SOURCES =
25 libtu_a_LIBADD = @LIBOBJS@
26 END
28 : > mountlist.c
30 $ACLOCAL || exit 1
31 $AUTOMAKE || exit 1