]> git.lyx.org Git - features.git/blobdiff - config/lyxinclude.m4
Make trivstring class ready for use
[features.git] / config / lyxinclude.m4
index 6b8d7a5e184d22bbc635f61818fa7ee3c54fd345..01d57bc727dcff8208b3e3fd51269930125b7f42 100644 (file)
@@ -39,16 +39,6 @@ esac
 AC_SUBST(lyx_devel_version)
 ])
 
-dnl If LyX is compiled from a git clone, find the HEAD commit hash
-dnl
-dnl
-AC_DEFUN([LYX_CHECK_GIT_COMMIT], [
-AC_MSG_CHECKING([for git commit hash])
-lyxgitcommit=`cd "$srcdir" && git log -1 --pretty=format:%H 2>/dev/null || true`
-test x$lyxgitcommit = x && lyxgitcommit="none"
-AC_MSG_RESULT($lyxgitcommit)
-])
-
 
 dnl Define the option to set a LyX version on installed executables and directories
 dnl
@@ -307,6 +297,7 @@ if test x$GXX = xyes; then
              ;;
       esac
   fi
+  AC_DEFINE(STD_STRING_USES_COW, 1, [std::string uses copy-on-write])
 fi
 test "$lyx_pch_comp" = yes && lyx_flags="$lyx_flags pch"
 AM_CONDITIONAL(LYX_BUILD_PCH, test "$lyx_pch_comp" = yes)