]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtoolize.m4sh (pkgvdatadir): Renamed from this...
authorGary V. Vaughan <gary@gnu.org>
Mon, 4 Apr 2005 17:16:48 +0000 (17:16 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 4 Apr 2005 17:16:48 +0000 (17:16 +0000)
(_lt_pkgvdatadir): ...to this.
* tests/testsuite.at (LT_AT_LIBTOOLIZE): The `-I' option is no
longer supported by libtoolize.  Set _lt_pkgvdatadir in the
environment of the invocation instead.

ChangeLog
libtoolize.m4sh
tests/testsuite.at

index 49d729a30f9b9cfc408e0320d1f0b440737d6118..51634c36a9be1826d8c9e0117bd1252b51d616a6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-04-04  Gary V. Vaughan  <gary@gnu.org>
+
+       * libtoolize.m4sh (pkgvdatadir): Renamed from this...
+       (_lt_pkgvdatadir): ...to this.
+       * tests/testsuite.at (LT_AT_LIBTOOLIZE): The `-I' option is no
+       longer supported by libtoolize.  Set _lt_pkgvdatadir in the
+       environment of the invocation instead.
+
 2005-04-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * tests/template.at: New Autotest tests for C++ with templates.
index f92c0607e454c3a7487421f7ee3cb747c21d94fe..e2cacae0e3600e33295904d630ad250a44251f59 100644 (file)
@@ -80,7 +80,7 @@ seen_ltdl=false
 libtoolize_flags=
 
 # Locations for important files:
-: ${pkgvdatadir="@pkgvdatadir@"}
+: ${_lt_pkgvdatadir="@pkgvdatadir@"}
 prefix=@prefix@
 datadir=@datadir@
 auxdir=
@@ -387,8 +387,8 @@ func_scan_files ()
         || func_fatal_help "\`$configure_ac' does not exist"
 
     # check that existing directories from the list can be ls'ed
-    test -n "`{ cd $pkgvdatadir && ls; } 2>/dev/null`" \
-        || func_fatal_error "can not list files in \`$pkgvdatadir'"
+    test -n "`{ cd $_lt_pkgvdatadir && ls; } 2>/dev/null`" \
+        || func_fatal_error "can not list files in \`$_lt_pkgvdatadir'"
 
     # Set local variables to reflect contents of configure.ac
     my_uses_autoconf=false
@@ -870,7 +870,7 @@ func_massage_pkgvltdl_files ()
   # Copy all the files from installed (or specified, if `-I' was used)
   # libltdl to this project, if the user specified `--ltdl'.
   if test -n "$ltdldir"; then
-    func_copy_some_files "$pkgvltdl_files" "$pkgvdatadir/libltdl" "$ltdldir"
+    func_copy_some_files "$pkgvltdl_files" "$_lt_pkgvdatadir/libltdl" "$ltdldir"
 
     # libtoolize the newly copied libltdl tree
     ( cd "$ltdldir" && eval "$progpath" $libtoolize_flags ) \
@@ -883,26 +883,26 @@ func_massage_pkgvltdl_files ()
     func_echo "putting files in AC_CONFIG_AUX_DIR, \`$auxdir'."
   fi
   if $opt_install; then
-    func_config_update config.guess "$pkgvdatadir/config" "$auxdir"
-    func_config_update config.sub   "$pkgvdatadir/config" "$auxdir"
-    func_install_update install-sh  "$pkgvdatadir/config" "$auxdir"
+    func_config_update config.guess "$_lt_pkgvdatadir/config" "$auxdir"
+    func_config_update config.sub   "$_lt_pkgvdatadir/config" "$auxdir"
+    func_install_update install-sh  "$_lt_pkgvdatadir/config" "$auxdir"
   fi
-  func_ltmain_update ltmain.sh "$pkgvdatadir/config" "$auxdir"
+  func_ltmain_update ltmain.sh "$_lt_pkgvdatadir/config" "$auxdir"
 
   # Copy libtool's m4 macros to the macro directory, if they are newer.
   if test -n "$m4dir"; then
     $opt_quiet || func_echo "putting macros in AC_CONFIG_MACRO_DIR, \`$m4dir'."
 
-    func_serial_update  libtool.m4 "$pkgvdatadir/m4" "$m4dir" \
+    func_serial_update  libtool.m4 "$_lt_pkgvdatadir/m4" "$m4dir" \
       LT_INIT 'A[[CM]]_PROG_LIBTOOL'
 
     if $seen_ltdl; then
-      func_serial_update ltdl.m4 "$pkgvdatadir/m4" "$m4dir" 'LTDL_INIT'
+      func_serial_update ltdl.m4 "$_lt_pkgvdatadir/m4" "$m4dir" 'LTDL_INIT'
     else
       func_verbose "Not copying \`$m4dir/ltdl.m4', libltdl not used."
     fi
 
-    func_copy_some_files "$pkgvmacro_files" "$pkgvdatadir/m4" \
+    func_copy_some_files "$pkgvmacro_files" "$_lt_pkgvdatadir/m4" \
       "$m4dir" func_serial_update
   else
     func_verbose "AC_CONFIG_MACRO_DIR not defined, not copying libtool macro files."
index 644cc9f32f6c290a0c26af161b8c8d8421adeaab..7ec301c56d6ad740b72352d884c9c3cdfcc393aa 100644 (file)
@@ -1,7 +1,7 @@
 # Process with autom4te to create an -*- Autotest -*- test suite.
 
 # Test suite for GNU Libtool.
-# Copyright 2004 Free Software Foundation, Inc.
+# Copyright 2004, 2005 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -26,7 +26,7 @@ m4_divert_pop([PREPARE_TESTS])dnl
 # LT_AT_LIBTOOLIZE([ARGS])
 # ------------------------
 m4_define([LT_AT_LIBTOOLIZE],
-["$LIBTOOLIZE" -I "$abs_top_srcdir" -I "$abs_top_srcdir/config" $1
+[_lt_pkgvdatadir="$abs_top_srcdir" "$LIBTOOLIZE" $1
 ])