Tag
Hash :
31d0f8bd
Author :
Date :
2002-04-12T16:37:28
* tests/discover.test: Use a full configure.in that calls AC_INIT. Use AC_LIBOBJ. Grep the error message. * test/ldadd.test: Don't use LIBOBJS. Use a full configure.in. Grep the error message. Require libtool. * tests/ldflags.test: Don't use LIBOBJS. * tests/seenc.test: Use AC_LIBOBJ, --Wno-error, and grep the error messages for CC and CXX.
#! /bin/sh
# Check for LDFLAGS in conditional.
# PR 77.
required=libtool
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
AC_PROG_CC
AC_PROG_LIBTOOL
AC_SUBST([LTLIBOBJS], [q.o])
AM_CONDITIONAL(USE_SWIG, :)
AC_OUTPUT
END
cat > Makefile.am << 'END'
if USE_SWIG
lib_LTLIBRARIES = libtu.la
libtu_la_SOURCES = foo.c
libtu_la_LDFLAGS = -module
endif
END
: > ltconfig
: > ltmain.sh
: > config.guess
: > config.sub
: > q.c
$ACLOCAL || exit 1
$AUTOMAKE