]> git.lyx.org Git - lyx.git/blobdiff - config/lyxinclude.m4
Bugfixes, de.po and sl.po updates, lyxlookup cleanup
[lyx.git] / config / lyxinclude.m4
index 5b156d0111c39efe43003b2f4696ce2c5781d520..cc94cf476cfaf150c78a8b40fdce71ed55b8ae04 100644 (file)
@@ -187,7 +187,8 @@ dnl Check the version of g++
       2.95.1)  CXXFLAGS="-g $lyx_opt -fpermissive -fno-rtti -fno-exceptions";;
       2.95.*)  CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";;
       2.96*)  CXXFLAGS="-g $lyx_opt -fno-exceptions";;
-      2.97*)   CXXFLAGS="-g $lyx_opt -fvtable-thunks -fno-builtin -ffunction-sections -fdata-sections";;
+      2.97*)   CXXFLAGS="-g $lyx_opt -fvtable-thunks -fno-builtin -ffunction-sections -fdata-sections"
+              CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE=1";;
       *2.91.*) CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";;
       *)       CXXFLAGS="-g $lyx_opt -fno-rtti -fno-exceptions";;
     esac
@@ -409,7 +410,7 @@ AC_DEFUN(LYX_CXX_GOOD_STD_STRING,[
     ])
     if test x$lyx_cv_std_string_good = xyes ; then
        AC_DEFINE(STD_STRING_IS_GOOD, 1,
-           [Define is the systems std::string is really good.])
+           [Define if the systems std::string is really good.])
     fi
 ])