Fixed typo in CXXFLAGS/debug.

This commit is contained in:
Vincent Richard 2005-12-01 13:34:32 +00:00
parent aba576a3a9
commit 9938aa65ab

View File

@ -1749,13 +1749,13 @@ CXXFLAGS=""
if test x$VMIME_DEBUG = x1 ; then
# -g
OLD_CXXFLAGS="$CXXFLAGS"
CXX_FLAGS="$CXXFLAGS -g"
CXXFLAGS="$CXXFLAGS -g"
AC_MSG_CHECKING(whether cc accepts -g)
AC_TRY_COMPILE(,,echo yes,echo no; CXXFLAGS="$OLD_CXXFLAGS")
else
# -O2
OLD_CXXFLAGS="$CXXFLAGS"
CXX_FLAGS="$CXXFLAGS -O2"
CXXFLAGS="$CXXFLAGS -O2"
AC_MSG_CHECKING(whether cc accepts -O2)
AC_TRY_COMPILE(,,echo yes,echo no; CXXFLAGS="$OLD_CXXFLAGS")
fi