]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* tests/configure-iface.at: Ensure LTDLINCL is expanded
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 12 Jan 2008 11:25:03 +0000 (11:25 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 12 Jan 2008 11:25:03 +0000 (11:25 +0000)
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.

ChangeLog
tests/configure-iface.at
tests/lt_dladvise.at
tests/lt_dlexit.at
tests/need_lib_prefix.at
tests/old-m4-iface.at

index 4f1cdc4deeda9ccb17120b9012622869a02d9af7..ce199fc19067c6f2f1e78db6611d103c5125a5ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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>:
index 72479bdb90b7a67d7e1b8971d39a28509ed8138e..10d8026de13762c11f3b97774a99ad543228a89a 100644 (file)
@@ -1,6 +1,6 @@
 # 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.
@@ -124,7 +124,7 @@ AT_DATA([Makefile.am],
 
 SUBDIRS                        = libltdl
 
-AM_CFLAGS              = $(LTDLINCL)
+AM_CPPFLAGS            = $(LTDLINCL)
 
 lib_LTLIBRARIES                = libmodule.la
 libmodule_la_LDFLAGS   = -module
@@ -188,7 +188,7 @@ AC_OUTPUT
 AT_DATA([Makefile.am],
 [[AUTOMAKE_OPTIONS     = 1.7
 
-AM_CFLAGS              = $(LTDLINCL)
+AM_CPPFLAGS            = $(LTDLINCL)
 
 lib_LTLIBRARIES                = libmodule.la
 libmodule_la_LDFLAGS   = -module
@@ -241,7 +241,7 @@ AT_DATA([Makefile.am],
 
 SUBDIRS                        = libltdl
 
-AM_CFLAGS              = $(LTDLINCL)
+AM_CPPFLAGS            = $(LTDLINCL)
 
 lib_LTLIBRARIES                = libmodule.la
 libmodule_la_LDFLAGS   = -module
index 5945c74085c2d9094ee9237c6548388db7afa74b..c67b3a053c7336ef5a1d44bc2b06a2530dabfa9d 100644 (file)
@@ -1,6 +1,6 @@
 # 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.
@@ -267,7 +267,7 @@ depend: 5
 : ${LTDLINCL="-I$abs_top_srcdir/libltdl"}
 : ${LIBLTDL="$abs_builddir/../libltdl/libltdlc.la"}
 
-CPPFLAGS="$CPPFLAGS $LTDLINCL"
+CPPFLAGS="$LTDLINCL $CPPFLAGS"
 
 dlopenable='resident local global'
 
index 207c6437465483430a3b9f0a2ba67a0a613c8208..2229f1920e3cf4b3ee5ee80611e5e6f3b3e5f456 100644 (file)
@@ -1,6 +1,6 @@
 # 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.
@@ -134,7 +134,7 @@ int vb1 = 3;
 : ${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
index d9cf769e69dea1304b27fafe8ef91571d15b14ef..a712813a801c51b99a22bc3fee715a6def462ac4 100644 (file)
@@ -1,6 +1,6 @@
 # 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.
@@ -139,7 +139,7 @@ libfoo2: 3
 : ${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
index a998c4b693d4a01b60598550dcaacf82904231ea..b43fff7a4ae1fe2750e361c99b214aa59e6fc03f 100644 (file)
@@ -1,6 +1,6 @@
 # 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.
@@ -109,7 +109,7 @@ AC_OUTPUT(Makefile)
 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@