Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh and autoconf-2.50
- X-seq: zsh-workers 14626
- From: Akim Demaille <akim@xxxxxxxx>
- To: Clint Adams <clint@xxxxxxx>
- Subject: Re: zsh and autoconf-2.50
- Date: 31 May 2001 20:01:09 +0200
- Cc: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>, Jos Backus <josb@xxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx, Au List <autoconf@xxxxxxx>
- In-reply-to: <20010531135143.A16261@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20010530144809.E47866@xxxxxxxxxxxxxxxxxx> <010530150208.ZM3863@xxxxxxxxxxxxxxxxxxxxxxx> <20010530184016.B3618@xxxxxxxx> <010530170846.ZM4077@xxxxxxxxxxxxxxxxxxxxxxx> <20010531094055.A12930@xxxxxxxx> <mv44ru12zip.fsf@xxxxxxxxxxxxxxxxxxxxxx> <20010531135143.A16261@xxxxxxxx>
- Sender: Akim Demaille <akim@xxxxxxxx>
| > So yes, define and undefine are undefined (in M4sh and M4sugar), but
| > no, you should not know about this (in Autoconf), you should not be
| > aware of it.
| >
| > What happens?
|
| % 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])
This
| configure.in:55: error: undefine: undefined: zsh-debug
reads `there is an error declared by undefine: zsh-debug is
undefined'.
I agree the original `undefine' from M4 does not do that. I agree the
message should be
| configure.in:55: error: undefine: undefined macro: zsh-debug
But by experience I know we need to be stricter to catch asap bad
bugs, so I definitely prefer the 2.50 behavior. I'd use
ifdef(,,undefine()).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author