Package: libtool
Version: 2.4.2-1
Severity: minor
Tags: upstream patch

The help text for the --with-sysroot option is written directly rather than
using the AS_HELP_STRING macro to format the text. Also, the square brackets
around [=DIR] are being swallowed by m4.

Patch attached to rectify both problems, applies to the libtool.m4 file that is
installed to /usr/share/aclocal/libtool.m4 .

Patch also submitted upstream: https://savannah.gnu.org/patch/?7759



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libtool depends on:
ii  autotools-dev                 20100122.1 Update infrastructure for config.{
ii  cpp                           4:4.6.0-5  The GNU C preprocessor (cpp)
ii  file                          5.10-1     Determines file type using "magic"
ii  gcc [c-compiler]              4:4.6.0-5  The GNU C compiler
ii  gcc-4.4 [c-compiler]          4.4.6-11   GNU C compiler
ii  gcc-4.5 [c-compiler]          4.5.3-9    The GNU C compiler
ii  gcc-4.6 [c-compiler]          4.6.2-15   GNU C compiler
ii  libc6-dev [libc-dev]          2.13-26    Embedded GNU C Library: Developmen

Versions of packages libtool recommends:
ii  libltdl-dev                   2.4.2-1    A system independent dlopen wrappe

Versions of packages libtool suggests:
ii  autoconf                      2.68-1     automatic configure script builder
ii  automake [automaken]          1:1.11.4-1 Tool for generating GNU Standards-
pn  gcj                           <none>     (no description available)
pn  gfortran | fortran95-compiler <none>     (no description available)
pn  libtool-doc                   <none>     (no description available)

-- no debconf information
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 75bfdb4..bfe4c4f 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -1222,8 +1222,9 @@ _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
 AC_DEFUN([_LT_WITH_SYSROOT],
 [AC_MSG_CHECKING([for sysroot])
 AC_ARG_WITH([sysroot],
-[  --with-sysroot[=DIR] Search for dependent libraries within DIR
-                        (or the compiler's sysroot if not specified).],
+[AS_HELP_STRING([--with-sysroot[[=DIR]]],
+    [Search for dependent libraries within DIR (or the compiler's 
+    sysroot if not specified).])],
 [], [with_sysroot=no])
 
 dnl lt_sysroot will always be passed unquoted.  We quote it here

Reply via email to