Hi libtoolers,

This patch fixes so help output is formatted similar with other macros using AS_HELP_STRING. Also it outputs '[DIR]' as I suspect intended rather than 'DIR'.

Attached diff is against libtool 2.4.2.

Cheers,
Peter

--- libltdl/m4/libtool.m4.orig  2011-10-17 20:17:05.000000000 +1000
+++ libltdl/m4/libtool.m4       2012-07-19 21:03:52.000000000 +1000
@@ -1225,8 +1225,9 @@
 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