]> git.lyx.org Git - lyx.git/commitdiff
3rdparty/boost: build with autotools
authorPeter Kümmel <kuemmel@lyx.org>
Sun, 20 Dec 2015 12:06:59 +0000 (13:06 +0100)
committerPeter Kümmel <kuemmel@lyx.org>
Sun, 20 Dec 2015 12:06:59 +0000 (13:06 +0100)
3rdparty/Makefile.am
Makefile.am
config/lyxinclude.m4
configure.ac

index 8706d08100c6b07fbab4d8ca4e39e07fa4751ef0..40eb64367acac329eab262751b45cdcd522704ac 100644 (file)
@@ -1,6 +1,9 @@
 include $(top_srcdir)/config/common.am
 
-DIST_SUBDIRS = hunspell libiconv zlib
+DIST_SUBDIRS = boost hunspell libiconv zlib
 
-SUBDIRS = hunspell libiconv zlib
+if USE_INCLUDED_BOOST
+BOOST = boost
+endif
 
+SUBDIRS = $(BOOST)
index 023828f99cc5ca968966f8135af083df5497f2fb..c60a282b3941c86a0530b1b08d2b7fad197cc194 100644 (file)
@@ -5,17 +5,14 @@ ACLOCAL_AMFLAGS = -I m4 -I config
 MAINTAINERCLEANFILES += $(srcdir)/aclocal.m4 $(srcdir)/configure \
        $(srcdir)/config.h.in
 
-DIST_SUBDIRS = 3rdparty autotests m4 config development po boost src sourcedoc lib
+DIST_SUBDIRS = 3rdparty autotests m4 config development po src sourcedoc lib
 
 if BUILD_CLIENT_SUBDIR
 CLIENT = src/client
 endif
 
-if USE_INCLUDED_BOOST
-BOOST = boost
-endif
 
-SUBDIRS = autotests config development po $(BOOST) src sourcedoc lib \
+SUBDIRS = autotests config development po 3rdparty src sourcedoc lib \
        $(CLIENT) src/tex2lyx
 
 
index 8f240dd4f30ba37ecc7115fe6aa03fd6be80adaa..5c8ff6c23d9ee5f5bf8abdc5790b9e84df628cba 100644 (file)
@@ -377,8 +377,8 @@ AC_DEFUN([LYX_USE_INCLUDED_BOOST],[
        AM_CONDITIONAL(USE_INCLUDED_BOOST, test x$lyx_cv_with_included_boost = xyes)
        AC_MSG_RESULT([$lyx_cv_with_included_boost])
        if test x$lyx_cv_with_included_boost = xyes ; then
-           BOOST_INCLUDES='-I$(top_srcdir)/boost'
-           BOOST_LIBS='$(top_builddir)/boost/liblyxboost.a'
+           BOOST_INCLUDES='-I$(top_srcdir)/3rdparty/boost'
+           BOOST_LIBS='$(top_builddir)/3rdparty/boost/liblyxboost.a'
        else
            AC_LANG_PUSH(C++)
            save_LIBS=$LIBS
index 2856b0757cbb507e0bc05b20bc78c0c952bcfa40..1d7eef50016a3f7a94b58659946811c410767b3b 100644 (file)
@@ -350,11 +350,11 @@ 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/hunspell/Makefile \
       3rdparty/libiconv/Makefile \
       3rdparty/zlib/Makefile \
       autotests/Makefile \
-      boost/Makefile \
       config/Makefile \
       development/Makefile \
       development/MacOSX/Makefile \