Tag
Hash :
d36f71d3
Author :
Date :
2002-06-18T20:08:01
* tests/libtool2.test: Use required=libtoolize. * tests/install2.test: Use required=gzip.
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 30 31 32 33 34 35 36 37 38
#! /bin/sh
# Make sure libtool clean targets exist.
# Report from Eric Magnien.
required=libtoolize
. $srcdir/defs || exit 1
cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(mypackage,0.1)
AC_PROG_CC
AC_PROG_LIBTOOL
AC_CONFIG_FILES([
sub/Makefile
Makefile
])
AC_OUTPUT
END
cat > Makefile.am << 'END'
SUBDIR = subdir
lib_LTLIBRARIES = libfoo.la
libfoo_la_SOURCES = foo.c
END
mkdir sub
cat > sub/Makefile.am << 'END'
lib_LTLIBRARIES = libfoo.la
libfoo_la_SOURCES = foo.c
END
$ACLOCAL || exit 1
: > ltmain.sh
$AUTOMAKE -a || exit 1
grep 'rm -f .*\.lo' sub/Makefile.in