[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: zsh and autoconf-2.50
From: |
Tim Van Holder |
Subject: |
RE: zsh and autoconf-2.50 |
Date: |
Fri, 1 Jun 2001 18:48:04 +0200 |
> > | % 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.