[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Variable substitution in help strings
From: |
Rafael Laboissiere |
Subject: |
Re: Variable substitution in help strings |
Date: |
Sat, 24 Jan 2004 15:28:08 +0100 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
* Thomas Dickey <address@hidden> [2004-01-24 07:44]:
> On Sat, 24 Jan 2004, Rafael Laboissiere wrote:
>
> > if test -n "$ac_init_help"; then
> > m4_ifset([AC_PACKAGE_STRING],
> > [ case $ac_init_help in
> > short | recursive ) echo "Configuration of AC_PACKAGE_STRING:";;
> > esac])
> > cat <<\_ACEOF
> > m4_divert_pop([HELP_ENABLE])dnl
> > m4_divert_push([HELP_END])dnl
> > m4_ifset([AC_PACKAGE_BUGREPORT], [
> > Report bugs to <AC_PACKAGE_BUGREPORT>.])
> > _ACEOF
> > fi
> >
> > I still do not understand why the quoting of _ACEOF is necessary. Could an
> > autoconf developer explain it to me, please?
>
> I'm not in that category. However from context it seems likely that the
> angle brackets were the feature of concern.
Why? The following works perfectly with ash, dash, or bash:
$ cat <<EOF
<foo>
EOF
--
Rafael