diff --git a/3rdparty/Makefile.am b/3rdparty/Makefile.am index c32db865b8..02dbfef70b 100644 --- a/3rdparty/Makefile.am +++ b/3rdparty/Makefile.am @@ -3,8 +3,11 @@ include $(top_srcdir)/config/common.am DIST_SUBDIRS = boost hunspell libiconv zlib if USE_INCLUDED_BOOST +if LYX_USE_STD_REGEX +else BOOST = boost endif +endif if USE_INCLUDED_HUNSPELL HUNSPELL = hunspell diff --git a/3rdparty/boost/Makefile.am b/3rdparty/boost/Makefile.am index 54d34e3eca..7bd1ff0113 100644 --- a/3rdparty/boost/Makefile.am +++ b/3rdparty/boost/Makefile.am @@ -12,10 +12,6 @@ EXTRA_DIST = boost \ AM_CPPFLAGS += -DBOOST_USER_CONFIG="" AM_CPPFLAGS += $(BOOST_INCLUDES) -if LYX_USE_STD_REGEX - -else - # This version is more than three times faster than the one below if MONOLITHIC_BOOST @@ -48,4 +44,3 @@ liblyxboost_a_SOURCES = \ endif #MONOLITHIC_BOOST -endif #LYX_USE_STD_REGEX