From 14d0075ba09c590f9878df39ac0f64acd39d6b1e Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 10 Feb 2001 19:50:18 +0000 Subject: [PATCH] * tests/condlib.test: New file. * tests/Makefile.am (TESTS): Added new file. --- ChangeLog | 5 +++++ tests/Makefile.am | 1 + tests/condlib.test | 27 +++++++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100755 tests/condlib.test diff --git a/ChangeLog b/ChangeLog index a76986e..d704742 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 7881d23..3702716 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 0000000..9b07528 --- /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 -- 2.7.4