bug-bison
[Top][All Lists]
Advanced

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

Re: [GNU Bison 2.0] testsuite: 44 45 88 89 90 91 92 93 114 failed


From: Paul Eggert
Subject: Re: [GNU Bison 2.0] testsuite: 44 45 88 89 90 91 92 93 114 failed
Date: Wed, 11 May 2005 12:41:02 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Ralf Menzel <address@hidden> writes:

> +AT_CHECK([$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS m4_default([$2], [$1.cc]) -o $1],

Thanks for the diagnosis.  I installed the following
slightly-different patch instead.  If you can test this please let me
know how it works for you.  (The "old" version isn't the same as 2.0
due to other changes, but you can ignore that problem.)

2005-05-11  Paul Eggert  <address@hidden>

        * tests/local.at (AT_COMPILE_CXX): Treat LDFLAGS like AT_COMPILE does.
        Problem reported by Ralf Menzel.

--- local.at    21 Mar 2005 06:58:11 -0000      1.8
+++ local.at    11 May 2005 19:38:24 -0000      1.9
@@ -175,11 +175,13 @@ m4_define([AT_COMPILE],
 
 # AT_COMPILE_CXX(OUTPUT, [SOURCES = OUTPUT.cc])
 # --------------------------------------------
+# Compile SOURCES into OUTPUT.  If OUTPUT does not contain '.',
+# assume that we are linking too; this is a hack.
 # If the C++ compiler does not work, ignore the test.
 m4_define([AT_COMPILE_CXX],
 [AT_KEYWORDS(c++)
 AT_CHECK([$BISON_CXX_WORKS], 0, ignore, ignore)
-AT_CHECK([$CXX $CXXFLAGS $CPPFLAGS -o $1 m4_default([$2], [$1.cc])],
+AT_CHECK([$CXX $CXXFLAGS $CPPFLAGS m4_bmatch([$1], [[.]], [], [$LDFLAGS ])-o 
$1 m4_default([$2], [$1.cc])],
          0, [ignore], [ignore])])
 
 




reply via email to

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