This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  f0a919c44529502504c6272f1f4f72aa896cc8df (commit)
       via  59f927914c369dd048f5dfaad5f65299e25161db (commit)
      from  739b7e434992c9c6a8412c17202ee8f539cbe2fc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f0a919c44529502504c6272f1f4f72aa896cc8df
Author: Sam Thursfield <[EMAIL PROTECTED]>
Date:   Thu Aug 21 21:18:28 2008 +0200

    Avoid leading separator in PATH for DLL search.
    
    * libltdl/config/ltmain.m4sh (func_mode_link) [cygwin, mingw]
    [ pw32, os2, cegcc]: Fix dllsearchpath not to contain leading
    separator.
    * THANKS: Update.
    
    Signed-off-by: Ralf Wildenhues <[EMAIL PROTECTED]>

commit 59f927914c369dd048f5dfaad5f65299e25161db
Author: Ralf Wildenhues <[EMAIL PROTECTED]>
Date:   Thu Aug 21 22:03:02 2008 +0200

    Fix sh.test regression in last patch.
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Quote $#.
    
    Signed-off-by: Ralf Wildenhues <[EMAIL PROTECTED]>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |   10 ++++++++++
 THANKS                     |    1 +
 libltdl/config/ltmain.m4sh |    6 +++++-
 3 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a97279d..6281da7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
+2008-08-21  Sam Thursfield  <[EMAIL PROTECTED]>  (tiny change)
+
+       Avoid leading separator in PATH for DLL search.
+       * libltdl/config/ltmain.m4sh (func_mode_link) [cygwin, mingw]
+       [ pw32, os2, cegcc]: Fix dllsearchpath not to contain leading
+       separator.
+       * THANKS: Update.
+
 2008-08-21  Ralf Wildenhues  <[EMAIL PROTECTED]>
 
+       * libltdl/config/ltmain.m4sh (func_mode_link): Quote $#.
+
        Disallow `-L path', do not misparse it silently.
        * libltdl/config/ltmain.m4sh (func_mode_link): Diagnose `-L'
        without argument, and `-L path', i.e., with a space.
diff --git a/THANKS b/THANKS
index f284d4e..1e48a00 100644
--- a/THANKS
+++ b/THANKS
@@ -124,6 +124,7 @@
   Robert Ögren                        [EMAIL PROTECTED]
   Roberto Bagnara              [EMAIL PROTECTED]
   Roland Mainz                 [EMAIL PROTECTED]
+  Sam Thursfield               [EMAIL PROTECTED]
   Sebastian Wilhelmi           [EMAIL PROTECTED]
   Simon Josefsson              [EMAIL PROTECTED]
   Stephan Kulow                        [EMAIL PROTECTED]
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index d1c984c..7e319c9 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -4036,7 +4036,7 @@ func_mode_link ()
        func_stripname '-L' '' "$arg"
        dir=$func_stripname_result
        if test -z "$dir"; then
-         if test $# -gt 0; then
+         if test "$#" -gt 0; then
            func_fatal_error "require no space between \`-L' and \`$1'"
          else
            func_fatal_error "need path for \`-L' option"
@@ -4064,10 +4064,12 @@ func_mode_link ()
          testbindir=`$ECHO "X$dir" | $Xsed -e 's*/lib$*/bin*'`
          case :$dllsearchpath: in
          *":$dir:"*) ;;
+         ::) dllsearchpath=$dir;;
          *) dllsearchpath="$dllsearchpath:$dir";;
          esac
          case :$dllsearchpath: in
          *":$testbindir:"*) ;;
+         ::) dllsearchpath=$testbindir;;
          *) dllsearchpath="$dllsearchpath:$testbindir";;
          esac
          ;;
@@ -7160,10 +7162,12 @@ EOF
          testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
          case :$dllsearchpath: in
          *":$libdir:"*) ;;
+         ::) dllsearchpath=$libdir;;
          *) dllsearchpath="$dllsearchpath:$libdir";;
          esac
          case :$dllsearchpath: in
          *":$testbindir:"*) ;;
+         ::) dllsearchpath=$testbindir;;
          *) dllsearchpath="$dllsearchpath:$testbindir";;
          esac
          ;;


hooks/post-receive
--
GNU Libtool


Reply via email to