[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libtool ChangeLog libtoolize.m4sh
From: |
Ralf Wildenhues |
Subject: |
libtool ChangeLog libtoolize.m4sh |
Date: |
Tue, 13 Jun 2006 19:08:33 +0000 |
CVSROOT: /cvsroot/libtool
Module name: libtool
Changes by: Ralf Wildenhues <rwild> 06/06/13 19:08:33
Modified files:
. : ChangeLog libtoolize.m4sh
Log message:
Fix the bugs where libtoolize needs to use `dir/file' instead of
`./dir/file', where ltdldir is `.', so that libtoolize correctly
checks for (and suggests) `config' and `m4' instead of
`./config' and `./m4' as auxiliary resp. macro directories.
The change is necessary for unambiguous naming, the chosen way
plays better with non-GNU make in VPATH builds.
* libtoolize.m4sh (ltdlprefix): New variable, to use as prefix
instead of `$ltdldir/'.
(func_check_macros): Use it. Bug report by Eric Blake.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libtool/ChangeLog?cvsroot=libtool&r1=1.2309&r2=1.2310
http://cvs.savannah.gnu.org/viewcvs/libtool/libtoolize.m4sh?cvsroot=libtool&r1=1.55&r2=1.56
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/libtool/libtool/ChangeLog,v
retrieving revision 1.2309
retrieving revision 1.2310
diff -u -b -r1.2309 -r1.2310
--- ChangeLog 12 Jun 2006 17:54:15 -0000 1.2309
+++ ChangeLog 13 Jun 2006 19:08:33 -0000 1.2310
@@ -1,3 +1,16 @@
+2006-06-13 Ralf Wildenhues <address@hidden>
+
+ Fix the bugs where libtoolize needs to use `dir/file' instead of
+ `./dir/file', where ltdldir is `.', so that libtoolize correctly
+ checks for (and suggests) `config' and `m4' instead of
+ `./config' and `./m4' as auxiliary resp. macro directories.
+ The change is necessary for unambiguous naming, the chosen way
+ plays better with non-GNU make in VPATH builds.
+
+ * libtoolize.m4sh (ltdlprefix): New variable, to use as prefix
+ instead of `$ltdldir/'.
+ (func_check_macros): Use it. Bug report by Eric Blake.
+
2006-06-12 Ralf Wildenhues <address@hidden>
Fix several libtoolize-related bugs:
@@ -466,6 +479,6 @@
Continued in ChangeLog.2005
- $Revision: 1.2309 $ $Date: 2006/06/12 17:54:15 $
+ $Revision: 1.2310 $ $Date: 2006/06/13 19:08:33 $
vim:tw=72
Index: libtoolize.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libtoolize.m4sh,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- libtoolize.m4sh 12 Jun 2006 17:54:15 -0000 1.55
+++ libtoolize.m4sh 13 Jun 2006 19:08:33 -0000 1.56
@@ -904,8 +904,8 @@
func_echo "and rerunning libtoolize."
fi
elif test -z "$m4dir"; then
- if $opt_ltdl && test "$ltdldir/m4" != "$m4dir"; then
- acmacrodir="$ltdldir/m4"
+ if $opt_ltdl && test "${ltdlprefix}m4" != "$m4dir"; then
+ acmacrodir="${ltdlprefix}m4"
else
acmacrodir="$aclocaldir"
fi
@@ -940,10 +940,10 @@
# Offer some suggestions for avoiding duplicate files in a project
# that uses libltdl:
- test "$ltdldir/config" = "$auxdir" ||
- func_echo "Consider using \`AC_CONFIG_AUX_DIR([[$ltdldir/config]])' in
$configure_ac."
- $ac_config_macro_dir_advised || test "$ltdldir/m4" = "$m4dir" ||
- func_echo "Consider using \`AC_CONFIG_MACRO_DIR([[$ltdldir/m4]])' in
$configure_ac."
+ test "${ltdlprefix}config" = "$auxdir" ||
+ func_echo "Consider using
\`AC_CONFIG_AUX_DIR([[${ltdlprefix}config]])' in $configure_ac."
+ $ac_config_macro_dir_advised || test "${ltdlprefix}m4" = "$m4dir" ||
+ func_echo "Consider using \`AC_CONFIG_MACRO_DIR([[${ltdlprefix}m4]])'
in $configure_ac."
else
# Don't trace for this, we're just checking the user didn't invoke it
# directly from configure.ac.
@@ -1086,12 +1086,17 @@
func_scan_files
+ case $ltdldir in
+ .) ltdlprefix= ;;
+ *) ltdlprefix=$ltdldir/ ;;
+ esac
+
# Unless we share CONFIG_AUX_DIR with the libltdl subproject, then
# if they are newer, copy all the installed utility files to the
# auxiliary directory if `--install' was passed, or else copy just
# ltmain.sh.
if test -n "$auxdir"; then
- if test "$ltdldir/config" != "$auxdir"; then
+ if test "${ltdlprefix}config" != "$auxdir"; then
$opt_quiet || if test "$auxdir" != .; then
func_echo "putting files in AC_CONFIG_AUX_DIR, \`$auxdir'."
fi
@@ -1150,9 +1155,9 @@
# Unless we share CONFIG_MACRO_DIR with our parent project,
# copy macros here.
- if test "$ltdldir/m4" != "$m4dir"; then
+ if test "${ltdlprefix}m4" != "$m4dir"; then
func_copy_some_files "$pkgmacro_files:libtool.m4:ltdl.m4" \
- "$aclocaldir" "$ltdldir/m4"
+ "$aclocaldir" "${ltdlprefix}m4"
fi
func_copy_some_files "$pkgltdl_files" "$pkgltdldir/libltdl" "$ltdldir"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- libtool ChangeLog libtoolize.m4sh,
Ralf Wildenhues <=