+2008-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * tests/configure-iface.at: Ensure LTDLINCL is expanded
+ before CPPFLAGS, so that even CPPFLAGS=-I/usr/local/include
+ won't make the tests prefer an installed ltdl.h over the
+ in-package one.
+ Report by Bob Friesenhahn.
+
2008-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) <exclude_expsyms>:
# configure-iface.at -- test ltdl configure interface -*- Autotest -*-
#
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Written by Gary V. Vaughan, 2007
#
# This file is part of GNU Libtool.
SUBDIRS = libltdl
-AM_CFLAGS = $(LTDLINCL)
+AM_CPPFLAGS = $(LTDLINCL)
lib_LTLIBRARIES = libmodule.la
libmodule_la_LDFLAGS = -module
AT_DATA([Makefile.am],
[[AUTOMAKE_OPTIONS = 1.7
-AM_CFLAGS = $(LTDLINCL)
+AM_CPPFLAGS = $(LTDLINCL)
lib_LTLIBRARIES = libmodule.la
libmodule_la_LDFLAGS = -module
SUBDIRS = libltdl
-AM_CFLAGS = $(LTDLINCL)
+AM_CPPFLAGS = $(LTDLINCL)
lib_LTLIBRARIES = libmodule.la
libmodule_la_LDFLAGS = -module
# lt_dladvise.at -- test libltdl functionality -*- Autotest -*-
#
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Written by Gary V. Vaughan, 2007
#
# This file is part of GNU Libtool.
: ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
: ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
-CPPFLAGS="$CPPFLAGS $LTDLINCL"
+CPPFLAGS="$LTDLINCL $CPPFLAGS"
dlopenable='resident local global'
# lt_dlexit.at -- test libltdl functionality -*- Autotest -*-
#
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Written by Dave Brolley & Ralf Wildenhues, 2007
#
# This file is part of GNU Libtool.
: ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
: ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
-CPPFLAGS="$CPPFLAGS $LTDLINCL"
+CPPFLAGS="$LTDLINCL $CPPFLAGS"
LDFLAGS="$LDFLAGS -no-undefined"
for file in a1 b1; do
# need-lib-prefix.at -- test libltdl functionality -*- Autotest -*-
#
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Written by Gary V. Vaughan, 2007
#
# This file is part of GNU Libtool.
: ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
: ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
-CPPFLAGS="$CPPFLAGS $LTDLINCL"
+CPPFLAGS="$LTDLINCL $CPPFLAGS"
LDFLAGS="$LDFLAGS"
# Create our own libtool, forcing need_lib_prefix setting
# old-m4-iface.at -- exercise old m4 interface to libtool -*- Autotest -*-
#
-# Copyright (C) 2005 Free Software Foundation, Inc.
+# Copyright (C) 2005, 2008 Free Software Foundation, Inc.
# Written by Gary V. Vaughan, 2005
#
# This file is part of GNU Libtool.
AT_DATA([Makefile.in],
[[top_srcdir = .
top_builddir = .
-COMPILE = @CC@ @CPPFLAGS@ @INCLTDL@ @CFLAGS@
+COMPILE = @CC@ @INCLTDL@ @CPPFLAGS@ @CFLAGS@
LTCOMPILE = @LIBTOOL@ --mode=compile $(COMPILE)
LTLINK = @LIBTOOL@ --mode=link @CC@ -no-undefined @CFLAGS@ @LDFLAGS@ -o $@
SHELL = @SHELL@