Skip to content

Commit 0f44970

Browse files
committed
updated boost configuration again
1 parent d18a52a commit 0f44970

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

configure.ac

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,26 @@ AX_CXX_COMPILE_STDCXX([17],,mandatory)
6666
# define ECLIB_MULTITHREAD=1.
6767
#
6868
# Boost 1.35.0+ required for Asio (1.25.0 for Thread)
69-
#AX_BOOST_BASE([1.35.0], [
69+
AX_BOOST_BASE([1.35.0], [
7070
#AX_BOOST_SYSTEM
71-
#AX_BOOST_ASIO
72-
#AX_BOOST_THREAD
73-
#])
71+
AX_BOOST_ASIO
72+
AX_BOOST_THREAD
73+
])
7474

75-
BOOST_REQUIRE([1.35.0])
75+
#BOOST_REQUIRE([1.35.0])
7676

77-
if [test "$boost" = "yes"]; then
77+
#if [test "$boost" = "yes"]; then
78+
# AC_DEFINE([ECLIB_MULTITHREAD],[1],[Define if multithreading available and requested])
79+
#fi
80+
if [test "$ax_cv_boost_asio" = "yes"] &&
81+
[test "$ax_cv_boost_thread" = "yes"]; then
7882
AC_DEFINE([ECLIB_MULTITHREAD],[1],[Define if multithreading available and requested])
7983
fi
8084

8185
AX_PTHREAD
8286

8387
# Check for libraries
84-
# The following AC_ARG_WITH section were written by Volker Braun
88+
# The following AC_ARG_WITH section were originally written by Volker Braun
8589

8690
dnl Find PARI
8791
AC_ARG_WITH(pari,

0 commit comments

Comments
 (0)