bug-readline
[Top][All Lists]
Advanced

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

[Bug-readline] [patch] Fix underquotation in readline/examples/rlfe/conf


From: Jan Kratochvil
Subject: [Bug-readline] [patch] Fix underquotation in readline/examples/rlfe/configure.in
Date: Sat, 2 Apr 2011 19:09:31 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Chet,

the mail
        Autoconf macros fixes
        http://gcc.gnu.org/ml/gcc-patches/2009-07/msg01604.html
 = sourceware commit 625678e974da5ac861284f13b8a3e65721a59c97

contains the following patch, I haven't found it posted here and/or in present
in readline-6.2.

I have to admit I do not have any warning reproducible but it is more correct
to quote it.
        Be sure to properly quote both the MACRO-BODY _and_ the MACRO-NAME to
        avoid any problems if the macro happens to have been previously
        defined.


Thanks,
Jan


readline/examples/rlfe/
2009-07-30  Ralf Wildenhues  <address@hidden>

        * configure.in: Correctly quote AC_PROGRAM_SOURCE definition.

--- a/readline/examples/rlfe/configure.in
+++ b/readline/examples/rlfe/configure.in
@@ -8,7 +8,7 @@ AC_SUBST(VERSION)
 dnl
 dnl Define some useful macros
 dnl
-AC_DEFUN(AC_PROGRAM_SOURCE,
+AC_DEFUN([AC_PROGRAM_SOURCE],
 [AC_REQUIRE([AC_PROG_CPP])AC_PROVIDE([$0])cat > conftest.c <<EOF
 #include "confdefs.h"
 [$1]



reply via email to

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