14c5af091e0664f50df5af0a5f466577edb7e8bf
[platform/upstream/automake.git] / tests / listval.test
1 #! /bin/sh
2 # Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
3 #
4 # This file is part of GNU Automake.
5 #
6 # GNU Automake is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
9 # any later version.
10 #
11 # GNU Automake is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with Automake; see the file COPYING.  If not, write to
18 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 # Boston, MA 02110-1301, USA.
20
21 # Test to make sure variable is expanded properly.
22 # From Adam J. Richter.
23 required=libtool
24 . ./defs || exit 1
25
26 cat >> configure.in << 'END'
27 AC_SUBST(LTLIBOBJS)
28 AC_PROG_LIBTOOL
29 END
30
31 cat > Makefile.am << 'END'
32 lib_LTLIBRARIES = libpanel_applet.la
33 libpanel_applet_la_SOURCES = \
34         applet-widget.c
35 libpanel_applet_la_LDFLAGS = -version-info 0:1:0 -rpath $(libdir)
36 libpanel_applet_la_LIBADD = -lm
37 END
38
39 : > ltconfig
40 : > ltmain.sh
41 : > config.guess
42 : > config.sub
43
44 $ACLOCAL || exit 1
45 $AUTOMAKE