]> git.lyx.org Git - lyx.git/blobdiff - config/lyxinclude.m4
make ParagraphList::push_back take a reference instead of a pointer.
[lyx.git] / config / lyxinclude.m4
index a2aa58d7bf7d38b5727297b1ab0f792a72e7fd75..8d79706a66881e0c638bf05eadda537a056a7ffc 100644 (file)
@@ -210,6 +210,7 @@ if test x$GXX = xyes; then
       3.0*)    CXXFLAGS="$lyx_opt";;
       3.1*)    CXXFLAGS="$lyx_opt -finline-limit=500 -fno-exceptions";;
       3.2*)    CXXFLAGS="$lyx_opt -fno-exceptions";;
+      3.3*)    CXXFLAGS="$lyx_opt -fno-exceptions";;
       *)       CXXFLAGS="$lyx_opt";;
     esac
     if test x$enable_debug = xyes ; then
@@ -396,6 +397,17 @@ dnl    AC_MSG_RESULT([$with_included_string])
 ])
 
 
+dnl Usage: LYX_USE_INCLUDED_BOOST : select if the included boost should
+dnl        be used.
+AC_DEFUN(LYX_USE_INCLUDED_BOOST,[
+       AC_ARG_WITH(included-boost,
+           [  --with-included-boost  use the boost lib supplied with LyX],
+           [lyx_cv_with_included_boost=$withval
+               AC_MSG_RESULT([$with_included_boost])],
+           [lyx_cv_with_included_boost=yes])
+       AM_CONDITIONAL(USE_INCLUDED_BOOST, test x$lyx_cv_with_included_boost = xyes)
+])
+
 dnl Usage: LYX_CXX_GOOD_STD_STRING : checks whether the C++ compiler
 dnl   has a std::string that is close to the standard. So close that
 dnl   methods not found in "unstandard" std::strings are present here.