]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtoolize.m4sh (func_install_pkgconfig_files): Only call
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 14 Feb 2008 04:36:37 +0000 (04:36 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 14 Feb 2008 04:36:37 +0000 (04:36 +0000)
func_install_pkgconfig_parent if $seen_autoconf.
* tests/standalone.at (compiling softlinked libltdl)
(compiling copied libltdl, installable libltdl)
(linking libltdl without autotools): Use checked libtoolize
calls to catch warnings.

ChangeLog
libtoolize.m4sh
tests/standalone.at

index 1c649ebc656a0d9b76ac0d06ca6b678cecdccdb0..441c26889549e5f3d2d843c052aa1e27d299cdf9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-02-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * libtoolize.m4sh (func_install_pkgconfig_files): Only call
+       func_install_pkgconfig_parent if $seen_autoconf.
+       * tests/standalone.at (compiling softlinked libltdl)
+       (compiling copied libltdl, installable libltdl)
+       (linking libltdl without autotools): Use checked libtoolize
+       calls to catch warnings.
+
 2008-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * libltdl/configure.ac: Bump package version.
index 210fa5476d71a3c30b073268947af6d30a3ccf78..3bab1459ba84531c1218068cf701447c15da5ac2 100644 (file)
@@ -1202,7 +1202,9 @@ func_install_pkgconfig_files ()
     elif $opt_ltdl && test "x$ltdl_mode" = "xsubproject"
        # && test "x$auxdir" != "x$subproject_auxdir" is implied
     then
-      func_install_pkgconfig_parent
+      if $seen_autoconf; then
+       func_install_pkgconfig_parent
+      fi
       func_install_pkgconfig_subproject
 
   # 3. Not subproject, but AC_CONFIG_AUX_DIR was used in parent:
index 6186b01ba6054d739e8cc48688144c02e90184c0..f9ba5ed37156bf6126453c71d34f8b37b5333f6f 100644 (file)
@@ -1,6 +1,6 @@
 # standalone.at -- test standalone libltdl builds             -*- Autotest -*-
 #
-#   Copyright (C) 2005 Free Software Foundation, Inc.
+#   Copyright (C) 2005, 2008 Free Software Foundation, Inc.
 #   Written by Gary V. Vaughan, 2006
 #
 #   This file is part of GNU Libtool.
@@ -30,7 +30,7 @@ AT_BANNER([Standalone Libltdl.])
 
 AT_SETUP([compiling softlinked libltdl])
 
-LT_AT_LIBTOOLIZE([--ltdl=.])
+LT_AT_CHECK_LIBTOOLIZE([--ltdl=.], [], [ignore])
 LT_AT_CONFIGURE
 LT_AT_MAKE([all $tst_dist])
 
@@ -45,7 +45,7 @@ AT_CLEANUP
 
 AT_SETUP([compiling copied libltdl])
 
-LT_AT_LIBTOOLIZE([--copy --ltdl=.])
+LT_AT_CHECK_LIBTOOLIZE([--copy --ltdl=.], [], [ignore])
 LT_AT_CONFIGURE
 LT_AT_MAKE([all $tst_dist])
 
@@ -62,7 +62,7 @@ AT_SETUP([installable libltdl])
 
 prefix=`pwd`/_inst
 
-LT_AT_LIBTOOLIZE([--copy --ltdl=.])
+LT_AT_CHECK_LIBTOOLIZE([--copy --ltdl=.], [], [ignore])
 LT_AT_CONFIGURE([--enable-ltdl-install --prefix=$prefix])
 LT_AT_MAKE([all install $tst_dist])
 
@@ -79,7 +79,7 @@ AT_CLEANUP
 AT_SETUP([linking libltdl without autotools])
 
 _LTDL_PROJECT_FILES([libltdl])
-LT_AT_LIBTOOLIZE([--copy --ltdl])
+LT_AT_CHECK_LIBTOOLIZE([--copy --ltdl], [], [ignore])
 LT_AT_MAKE([], [CC="$CC" LIBTOOLFLAGS="$LIBTOOLFLAGS" CPPFLAGS="$CPPFLAGS" \
         CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
        CONFIGURE_OPTIONS="$configure_options"])