Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: zsh and autoconf-2.50
- X-seq: zsh-workers 14668
- From: "Tim Van Holder" <tim.van.holder@xxxxxxxxxx>
- To: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>, "Akim Demaille" <akim@xxxxxxxx>
- Subject: RE: zsh and autoconf-2.50
- Date: Fri, 1 Jun 2001 18:48:04 +0200
- Cc: <zsh-workers@xxxxxxxxxxxxxx>, "Au List" <autoconf@xxxxxxx>
- Importance: Normal
- In-reply-to: <000f01c0ea78$951b18d0$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
> > | % autoconf2.50
> > | configure.in:55: error: undefine: undefined: zsh-debug
> > | configure.in:55: the top level
> > |
> > | The offending construct is here.
> > |
> > | undefine([zsh-debug])dnl
> > | AC_ARG_ENABLE(zsh-debug,
> > | [ --enable-zsh-debug compile with debug code and
> > debugger symbols],
> > | [if test x$enableval = xyes; then
> > | AC_DEFINE(DEBUG)
> > | fi])
> >
>
> I have started with updating and am staring at this with some
> surprise. Why
> do we need this undefine at all? Is not AC_ARG_ENABLE([zsh-debug],...)
> enough?
>
Yes it is. I have seen such undefines before; basically it's a
bit paranoid: 'zsh-debug' is passed to AC_ARG_ENABLE unquoted, so
they wanted to avoid it being a macro (and getting expanded).
As you say, simply drop the undefine, and quote zsh-debug.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author