]> git.lyx.org Git - lyx.git/commitdiff
autotools: use system boost by default
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 29 Nov 2020 21:07:26 +0000 (22:07 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 29 Nov 2020 21:07:26 +0000 (22:07 +0100)
What is missing is a test to use bundled boost automatically when
system boost is missing. I am not sure this is required, though.

config/lyxinclude.m4

index 16f7972f4908de7c4d6eea335c3561d58f4a326e..a3bb1148953f26d5405bdf647f9cf238aac858f3 100644 (file)
@@ -421,9 +421,9 @@ dnl        be used.
 AC_DEFUN([LYX_USE_INCLUDED_BOOST],[
        AC_MSG_CHECKING([whether to use included boost library])
        AC_ARG_WITH(included-boost,
-           [AS_HELP_STRING([--without-included-boost], [do not use the boost lib supplied with LyX, try to find one in the system directories - compilation will abort if nothing suitable is found])],
+           [AS_HELP_STRING([--with-included-boost], [use the boost lib supplied with LyX])],
            [lyx_cv_with_included_boost=$withval],
-           [lyx_cv_with_included_boost=yes])
+           [lyx_cv_with_included_boost=no])
        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