autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Restore the newline in AS_ERROR


From: Pavel Roskin
Subject: Restore the newline in AS_ERROR
Date: Thu, 14 Dec 2000 11:39:21 -0500 (EST)

Hello!

The latest change to AS_ERROR inadvertently removed a "dnl" at the end, so
now the scripts (see e.g. openldap-2.0.7) using

AC_MSG_ERROR([foo]);

would result in a stray semicolon that at least bash doesn't like.

While those scripts should be fixed I see no point in breaking them
without a warning.

ChangeLog:
        * m4sh.sh (AS_ERROR): Restore dnl at the end of the macro.

_______________________
Index: m4sh.m4
--- m4sh.m4     Tue Dec 12 09:29:10 2000
+++ m4sh.m4     Thu Dec 14 11:07:16 2000
@@ -228,7 +228,7 @@
 # ----------------------------------
 m4_define([AS_ERROR],
 [{ AS_MESSAGE([error: $1], [2])
-   AS_EXIT([$2]); }
+   AS_EXIT([$2]); }[]dnl
 ])# AS_ERROR


_______________________

Regards,
Pavel Roskin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]