[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why doesn't this quote properly?
From: |
Paul Eggert |
Subject: |
Re: Why doesn't this quote properly? |
Date: |
Tue, 23 Nov 2004 11:11:45 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Stepan Kasal <address@hidden> writes:
> Or, if we say that the shell code is ``simple enough'', they need not be
> quoted at all. (This is what I proposed in my original patch.)
Let's do it that way, then; it is pretty simple, after all, and the
extra quoting distracts from the example.
I installed this doc patch (along with the change to general.m4 you sent):
2004-11-23 Stepan Kasal <address@hidden>
* doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
with the examples; fix the bug in MY_ARG_WITH example reported
by Alexandre Duret-Lutz.
--- autoconf.texi 23 Nov 2004 09:01:01 -0000 1.841
+++ autoconf.texi 23 Nov 2004 19:11:56 -0000 1.842
@@ -13053,8 +13053,8 @@ Options}). The following example will m
AC_ARG_WITH(foo,
[AS_HELP_STRING(--with-foo,
[use foo (default is no)])],
- [ac_cv_use_foo=$withval],
- [ac_cv_use_foo=no])
+ ac_cv_use_foo=$withval,
+ ac_cv_use_foo=no)
@end example
The second argument of @code{AS_HELP_STRING} is
@@ -13076,11 +13076,8 @@ arguments, as shown in the following exa
AC_DEFUN([MY_ARG_WITH],
[AC_ARG_WITH([$1],
[AS_HELP_STRING([--with-$1], [use $1 (default is $2)])],
- [ac_cv_use_$1=$withval],
- [ac_cv_use_$1=no])
- AC_CACHE_CHECK([whether to use $1],
- [ac_cv_use_$1],
- [ac_cv_use_$1=$2])])
+ ac_cv_use_$1=$withval,
+ ac_cv_use_$1=$2)])
@end example
@end defmac
- Re: Why doesn't this quote properly?, Paul Eggert, 2004/11/22
- Re: Why doesn't this quote properly?, Alexandre Duret-Lutz, 2004/11/23
- Re: Why doesn't this quote properly?, Paul Eggert, 2004/11/23
- Re: Why doesn't this quote properly?, Stepan Kasal, 2004/11/23
- Re: Why doesn't this quote properly?,
Paul Eggert <=
- Re: Why doesn't this quote properly?, Akim Demaille, 2004/11/24
- Re: Why doesn't this quote properly?, Ralf Wildenhues, 2004/11/24
- Re: Why doesn't this quote properly?, Paul Eggert, 2004/11/26
- Re: Why doesn't this quote properly?, Stepan Kasal, 2004/11/26
- Re: Why doesn't this quote properly?, Akim Demaille, 2004/11/26
- Re: Why doesn't this quote properly?, Paul Eggert, 2004/11/26
- Re: Why doesn't this quote properly?, Stepan Kasal, 2004/11/25
- Re: Why doesn't this quote properly?, Akim Demaille, 2004/11/25
- Re: Why doesn't this quote properly?, Stepan Kasal, 2004/11/25