From: KO Myung-Hun Date: Wed, 15 Dec 2010 21:29:17 +0000 (+0100) Subject: Fix PATH_SEPARATOR handling for OS/2. X-Git-Tag: v2.4.2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c00e12df8c8a1cc82e411779b2009e88bd203c2;p=thirdparty%2Flibtool.git Fix PATH_SEPARATOR handling for OS/2. * Makefile.am (update_mans): Quote $(PATH_SEPARATOR). * libltdl/m4/libtool.m4 (_LT_SETUP): Add _LT_DECL for PATH_SEPARATOR. * libltdl/config/general.m4sh: Use PATH_SEPARATOR when computing $progpath. * THANKS: Update. --- diff --git a/ChangeLog b/ChangeLog index 8bc122eff..0d4959557 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2010-12-15 KO Myung-Hun (tiny change) + Ralf Wildenhues + + Fix PATH_SEPARATOR handling for OS/2. + * Makefile.am (update_mans): Quote $(PATH_SEPARATOR). + * libltdl/m4/libtool.m4 (_LT_SETUP): Add _LT_DECL for + PATH_SEPARATOR. + * libltdl/config/general.m4sh: Use PATH_SEPARATOR when computing + $progpath. + * THANKS: Update. + 2010-12-10 Ralf Wildenhues Fix nvcc PIC setting on darwin. diff --git a/Makefile.am b/Makefile.am index 66f38b104..4be353c6c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -330,7 +330,7 @@ $(srcdir)/doc/notes.txt: $(srcdir)/doc/notes.texi dist_man1_MANS = $(srcdir)/doc/libtool.1 $(srcdir)/doc/libtoolize.1 MAINTAINERCLEANFILES += $(dist_man1_MANS) update_mans = \ - PATH=.$(PATH_SEPARATOR)$$PATH; export PATH; \ + PATH=".$(PATH_SEPARATOR)$$PATH"; export PATH; \ $(HELP2MAN) --output=$@ $(srcdir)/doc/libtool.1: $(srcdir)/$(auxdir)/ltmain.sh $(update_mans) --help-option=--help-all libtool diff --git a/THANKS b/THANKS index 6dd8dd86e..5260878d7 100644 --- a/THANKS +++ b/THANKS @@ -122,6 +122,7 @@ Kenneth Albanowski kjahds@kjahds.com Kevin Ryde user42@zip.com.au Khem Raj raj.khem@gmail.com + KO Myung-Hun komh@chollian.net Kurt D. Zeilenga Kurt@OpenLDAP.Org Lennart Poettering lennart@poettering.net Lionel Landwerlin llandwerlin@gmail.com diff --git a/libltdl/config/general.m4sh b/libltdl/config/general.m4sh index 44a7ce95a..40d541381 100644 --- a/libltdl/config/general.m4sh +++ b/libltdl/config/general.m4sh @@ -296,7 +296,7 @@ case $progpath in ;; *) save_IFS="$IFS" - IFS=: + IFS=${PATH_SEPARATOR-:} for progdir in $PATH; do IFS="$save_IFS" test -x "$progdir/$progname" && break diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 1f6114046..ab3e16fc0 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -146,6 +146,8 @@ AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl +_LT_DECL([], [PATH_SEPARATOR], [0], [The PATH separator for the build system])dnl +dnl _LT_DECL([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl