summaryrefslogtreecommitdiff
path: root/tests/libobj9.test
blob: 823d6032776326939809bbf7bdee9aa9366dcc7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#! /bin/sh

# Test for report from Jim Meyering.
# LIBOBJS must handle $ac_objext.

. $srcdir/defs || exit 1

cat > configure.in << 'END'
PACKAGE=nonesuch
VERSION=nonesuch
AC_PROG_CC
AC_PROG_MAKE_SET
AC_ARG_PROGRAM
AC_PROG_INSTALL
AC_PROG_RANLIB
AC_EXEEXT
LIBOBJS="$LIBOBJS mountlist.$ac_objext"
AC_OUTPUT(Makefile)
END

cat > Makefile.am << 'END'
noinst_LIBRARIES = libtu.a
libtu_a_SOURCES =
libtu_a_LIBADD = @LIBOBJS@
END

: > mountlist.c

$AUTOMAKE || exit 1