GNU bug report logs - #21137
typo in libtool.m4 ( _LT_SYS_HIDDEN_LIBDEPS)

Previous Next

Package: libtool;

Reported by: Gilles Gouaillardet <gilles.gouaillardet <at> gmail.com>

Date: Mon, 27 Jul 2015 06:19:01 UTC

Severity: normal

Tags: patch

Done: Mike Frysinger <vapier <at> gentoo.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gilles Gouaillardet <gilles.gouaillardet <at> gmail.com>
To: bug-libtool <at> gnu.org
Subject: typo in libtool.m4 ( _LT_SYS_HIDDEN_LIBDEPS)
Date: Mon, 27 Jul 2015 10:55:46 +0900
Dear libtool folks,

i'd like to report a typo in libtool.m4 that was introduced in libtool 2.4.3

This issue was initially discussed at
https://github.com/open-mpi/ompi/issues/751

The patch below does fix this.

could you please check this out ?

Best regards,

Gilles

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 068f0d8..5bbd0a8 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -7155,8 +7155,8 @@ if AC_TRY_EVAL(ac_compile); then
     -L* | -R* | -l*)
        # Some compilers place space between "-{L,R}" and the path.
        # Remove the space.
-       if test x-L = "$p" ||
-          test x-R = "$p"; then
+       if test x-L = "x$p" ||
+          test x-R = "x$p"; then
         prev=$p
         continue
        fi




This bug report was last modified 1 year and 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.