Commit 22fd02d1 authored by kent@mysql.com's avatar kent@mysql.com

configure.in:

  Enable build with CXX=gcc and gcc version 4
parent 03b12897
...@@ -370,9 +370,14 @@ then ...@@ -370,9 +370,14 @@ then
if echo $CXX | grep gcc > /dev/null 2>&1 if echo $CXX | grep gcc > /dev/null 2>&1
then then
if $CXX -v 2>&1 | grep 'version 3' > /dev/null 2>&1 AC_MSG_CHECKING([if CXX is gcc 3 or 4])
if $CXX -v 2>&1 | grep 'version [[34]]' > /dev/null 2>&1
then then
AC_MSG_RESULT([yes])
AC_MSG_NOTICE([using MySQL tricks to avoid linking C++ code with C++ libraries])
CXXFLAGS="$CXXFLAGS -DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL" CXXFLAGS="$CXXFLAGS -DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL"
else
AC_MSG_RESULT([no])
fi fi
fi fi
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment