* Makefile.am (TESTS): Added ldflags.test.
* ldflags.test: New file.
+2000-08-26 Tom Tromey <tromey@cygnus.com>
+
+ For PR automake/77:
+ * Makefile.am (TESTS): Added ldflags.test.
+ * ldflags.test: New file.
+
2000-08-06 Jim Meyering <meyering@lucent.com>
* Makefile.am (TESTS): Add subdir4.test.
javaprim.test \
javasubst.test \
ldadd.test \
+ldflags.test \
lex.test \
lex2.test \
lex3.test \
POST_UNINSTALL = :
@SET_MAKE@
-AMDEP = @AMDEP@
AMTAR = @AMTAR@
+AMTARFLAGS = @AMTARFLAGS@
AWK = @AWK@
-CC = @CC@
-CPP = @CPP@
-CXX = @CXX@
-CXXCPP = @CXXCPP@
-DEPDIR = @DEPDIR@
MAKEINFO = @MAKEINFO@
PACKAGE = @PACKAGE@
PERL = @PERL@
javaprim.test \
javasubst.test \
ldadd.test \
+ldflags.test \
lex.test \
lex2.test \
lex3.test \
--- /dev/null
+#! /bin/sh
+
+# Check for LDFLAGS in conditional.
+# PR 77.
+
+. $srcdir/defs || exit 1
+
+cat > configure.in << 'END'
+AM_INIT_AUTOMAKE(no, 0)
+AC_PROG_CC
+AC_ARG_PROGRAM
+AC_PROG_INSTALL
+AC_PROG_LIBTOOL
+AC_OUTPUT(Makefile)
+AC_PROG_MAKE_SET
+LTLIBOBJS="$LTLIBOBJS q.o"
+LIBOBJS="$LIBOBJS q.o"
+AC_SUBST(LTLIBOBJS)
+AM_CONDITIONAL(USE_SWIG, :)
+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
+
+$AUTOMAKE