Re: Variable substitution in help strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Thomas Dickey <dickey@xxxxxxx> [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



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux