[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Daniel Schepler <address@hidden>] Bug#167503: autoconf: AC_MSG_WARN
From: |
Akim Demaille |
Subject: |
Re: [Daniel Schepler <address@hidden>] Bug#167503: autoconf: AC_MSG_WARN with #define inside fails |
Date: |
04 Nov 2002 08:55:18 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) |
| 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 <address@hidden>
| Subject: Bug#167503: autoconf: AC_MSG_WARN with #define inside fails
| To: Debian Bug Tracking System <address@hidden>
| Reply-To: Daniel Schepler <address@hidden>, address@hidden
|
| 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]])