This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Patch: FYI: use AC_HELP_STRING
Tom Tromey <tromey@redhat.com> writes:
> diff -u -r1.95 configure.ac
> --- configure.ac 21 Apr 2009 17:00:17 -0000 1.95
> +++ configure.ac 21 Apr 2009 17:53:07 -0000
> @@ -95,7 +95,7 @@
> debugdir=${libdir}/debug
>
> AC_ARG_WITH(separate-debug-dir,
> -AC_HELP_STRING([--with-separate-debug-dir=PATH], [Look for global separate debug info in this path [LIBDIR/debug]]),
> +AC_HELP_STRING([--with-separate-debug-dir=PATH], [look for global separate debug info in this path [LIBDIR/debug]]),
> [debugdir="${withval}"])
Actually, AC_HELP_STRING is obsoleted by AS_HELP_STRING. Also, quotes
are missing here that cause the brackets around LIBDIR/debug to be lost.
I've checked this in as obvious to fix the latter.
Andreas.
2009-04-21 Andreas Schwab <schwab@linux-m68k.org>
* configure.ac: Add quotes to not lose brackets in help text.
* configure: Rebuild.
--- configure.ac.~1.98.~ 2009-04-21 22:13:57.000000000 +0200
+++ configure.ac 2009-04-21 22:49:16.000000000 +0200
@@ -95,7 +95,7 @@ AM_INIT_AUTOMAKE(gdb, UNUSED-VERSION, [n
debugdir=${libdir}/debug
AC_ARG_WITH(separate-debug-dir,
-AC_HELP_STRING([--with-separate-debug-dir=PATH], [look for global separate debug info in this path [LIBDIR/debug]]),
+[AC_HELP_STRING([--with-separate-debug-dir=PATH], [look for global separate debug info in this path [LIBDIR/debug]])],
[debugdir="${withval}"])
AC_DEFINE_DIR(DEBUGDIR, debugdir,
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."