mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-18 14:16:00 +08:00
* 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.
This commit is contained in:
parent
1c205030b4
commit
f391861a20
@ -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.
|
||||
|
@ -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."
|
||||
|
@ -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
|
||||
])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user