]> git.lyx.org Git - lyx.git/commitdiff
Revert "Remove boost traces from configure.ac"
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 29 Nov 2020 18:20:58 +0000 (19:20 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 29 Nov 2020 18:22:47 +0000 (19:22 +0100)
This reverts commit f899dee382712b67a30448a3a8334d3d9bcab411.

configure.ac

index 282905a0fc490a72b001db2cc9ffc998a702bacd..318986b4e247611aaa953a09b663d0099e142dfb 100644 (file)
@@ -94,6 +94,8 @@ AC_SUBST(LIBPSAPI)
 AC_CHECK_LIB(gdi32, main)
 AC_CHECK_LIB(ole32, main)
 
+LYX_USE_INCLUDED_BOOST
+
 ### we need to know the byte order for unicode conversions
 AC_C_BIGENDIAN
 
@@ -274,9 +276,23 @@ extern "C"
 char * strerror(int n);
 #endif
 
+#define BOOST_USER_CONFIG <config.h>
+
+#if !defined(ENABLE_ASSERTIONS)
+#  define BOOST_DISABLE_ASSERTS 1
+#endif
+#define BOOST_ENABLE_ASSERT_HANDLER 1
+
+#define BOOST_DISABLE_THREADS 1
+#define BOOST_NO_WREGEX 1
+#define BOOST_NO_WSTRING 1
+
 #ifdef __CYGWIN__
 #  define _DEFAULT_SOURCE
 #  define NOMINMAX
+#  define BOOST_POSIX 1
+#  define BOOST_POSIX_API 1
+#  define BOOST_POSIX_PATH 1
 #endif
 
 #ifdef __sparc__
@@ -317,6 +333,7 @@ AC_DEFINE_UNQUOTED([LYX_RELEASE_PATCH],$lyx_patch,[Patch version number])
 AC_CONFIG_FILES([Makefile \
       lyx.1:lyx.1in \
       3rdparty/Makefile \
+      3rdparty/boost/Makefile \
       3rdparty/dtl/Makefile \
       3rdparty/hunspell/Makefile \
       3rdparty/mythes/Makefile \