Kaydet (Commit) 3ec4b907 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Fix g++ version test

Change-Id: I03bb06ddda9f8d54fae926004f5cf55cf5846833
üst 22dac22f
......@@ -5394,14 +5394,14 @@ if test "$GXX" = "yes"; then
_gpp_version=`$CXX -dumpversion`
_gpp_majmin=`echo $_gpp_version | $AWK -F. '{ print \$1*100+\$2 }'`
if test "$_gpp_majmin" -lt "410"; then
AC_MSG_ERROR([You need to use GNU C++ compiler version >= 4.1 to build LibreOffice.])
if test "$_gpp_majmin" -lt "401"; then
AC_MSG_ERROR([You need to use GNU C++ compiler version >= 4.1 to build LibreOffice, you have $_gpp_version.])
else
AC_MSG_RESULT([checked (g++ $_gpp_version)])
fi
dnl see https://code.google.com/p/android/issues/detail?id=41770
if test "$_gpp_majmin" -ge "410"; then
if test "$_gpp_majmin" -ge "401"; then
glibcxx_threads=no
AC_LANG_PUSH([C++])
AC_REQUIRE_CPP
......
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