[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cflags
From: |
Paul Eggert |
Subject: |
Re: cflags |
Date: |
Mon, 24 Jan 2005 15:49:05 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
address@hidden writes:
> From configure.ac: these macro's resulted not in
> `gcc -O0' used for the bison test suite but `gcc -O2'.
Thanks for reporting that. I installed the following fix.
2005-01-24 Paul Eggert <address@hidden>
* configure.ac (O0CFLAGS, O0CXXFLAGS): Fix quoting bug.
Problem reported by address@hidden
--- configure.ac 26 Dec 2004 06:50:35 -0000 1.51
+++ configure.ac 24 Jan 2005 23:47:49 -0000 1.52
@@ -120,9 +120,9 @@ BISON_TEST_FOR_WORKING_CXX_COMPILER
AM_MISSING_PROG([AUTOM4TE], [autom4te])
# Needed by tests/atlocal.in.
AC_SUBST([GCC])
-O0CFLAGS=`echo $CFLAGS | sed 's/-O[0-9] *//'`
+O0CFLAGS=`echo $CFLAGS | sed 's/-O[[0-9]] *//'`
AC_SUBST([O0CFLAGS])
-O0CXXFLAGS=`echo $CXXFLAGS | sed 's/-O[0-9] *//'`
+O0CXXFLAGS=`echo $CXXFLAGS | sed 's/-O[[0-9]] *//'`
AC_SUBST([O0CXXFLAGS])
AC_CONFIG_FILES([Makefile
- cflags, twlevo, 2005/01/23
- Re: cflags,
Paul Eggert <=