From: Tom Tromey Date: Sat, 10 Feb 2001 19:50:18 +0000 (+0000) Subject: * tests/condlib.test: New file. X-Git-Tag: Release-1-4d~4 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=aede71b8d28765178f425871d3d54552dd9377f1;p=automake.git * tests/condlib.test: New file. * tests/Makefile.am (TESTS): Added new file. --- diff --git a/ChangeLog b/ChangeLog index a76986e7..d7047425 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-02-10 Tom Tromey + + * tests/condlib.test: New file. + * tests/Makefile.am (TESTS): Added new file. + 2001-02-10 Lars J. Aas * automake.in ($MACRO_PATTERN): Include '@' in name regex. diff --git a/tests/Makefile.am b/tests/Makefile.am index 7881d23e..37027165 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -59,6 +59,7 @@ cond8.test \ cond9.test \ condincl.test \ condincl2.test \ +condlib.test \ condman.test \ condman2.test \ conf2.test \ diff --git a/tests/condlib.test b/tests/condlib.test new file mode 100755 index 00000000..9b07528e --- /dev/null +++ b/tests/condlib.test @@ -0,0 +1,27 @@ +#! /bin/sh + +# Test for bug with conditional library. +# From Harlan Stenn + +. $srcdir/defs || exit 1 + +cat >> configure.in << 'END' +AC_PROG_RANLIB +AM_MAINTAINER_MODE +AC_EXEEXT +AC_PROG_CC +END + +cat > Makefile.am << 'END' +noinst_LIBRARIES = @LIBRSAREF@ +EXTRA_LIBRARIES = librsaref.a + +nodist_librsaref_a_SOURCES = desc.c digit.c + +BUILT_SOURCES = $(nodist_librsaref_a_SOURCES) +END + +$AUTOMAKE || exit 1 + +fgrep librsaref.a.c Makefile.in && exit 1 +exit 0