| I received the following bug report against the Debian package
| for Autoconf 2.54.  I'm a bit stumped, so I'm forwarding it to
| the list without further commentary.
| 
| Thanks,
| 
| Ben.
| 
| From: Daniel Schepler <[EMAIL PROTECTED]>
| Subject: Bug#167503: autoconf: AC_MSG_WARN with #define inside fails 
| To: Debian Bug Tracking System <[EMAIL PROTECTED]>
| Reply-To: Daniel Schepler <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
| 
| Package: autoconf
| Version: 2.54-2
| Severity: normal
| 
| This is a bug I ran into while trying to update ddd to compile with
| newer autotools.  A short test case is:
| 
| AC_INIT(foo.c)
| AC_MSG_WARN([Please #define SIGHANDLERARGS in config.h])
| 
| The resulting configure script aborts with the error:
| 
| ./configure: line 1152: syntax error near unexpected token `('
| ./configure: line 1152: `{ echo "$as_me:$LINENO: WARNING: Please #define 
|SIGHANDLERARGS in config.h" >&m4_default([AS_MESSAGE_LOG_FD], [AS_MESSAGE_FD])'
| 
| Removing the # from the string works around this bug.

Hi!

This is not a bug report.  Please, read the documentation, in
particular everything related to quotation.  Write this:

  AC_INIT(foo.c)
  AC_MSG_WARN([[Please #define SIGHANDLERARGS in config.h]])


Reply via email to