Package: crrcsim / 0.9.13-3.2

08-boost_thread-mt-change.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Author: IƱaki Malerba <inaki@malerba.space>
Description: boost_thread-mt is now boost_thread
Index: crrcsim/configure.ac
===================================================================
--- crrcsim.orig/configure.ac
+++ crrcsim/configure.ac
@@ -226,7 +226,7 @@ if  (test "x$ac_cv_header_CGAL_Exact_pre
       AC_DEFINE([CGAL_VERSION3], [0], [CGAL_VERSION3 compatibility]) 
       has_CGAL="yes  (found CGAL > v3)"
       AC_CHECK_LIB(gmp,__gmpq_init,,AC_MSG_ERROR([gmp library not found. Please install it.]))
-      AC_CHECK_LIB(boost_thread-mt,main,,AC_MSG_ERROR([boost_thread-mt library not found. Please install it.]))
+      AC_CHECK_LIB(boost_thread,main,,AC_MSG_ERROR([boost_thread library not found. Please install it.]))
     else
       AC_DEFINE([CGAL_VERSION3], [1], [CGAL_VERSION3 compatibility])
       has_CGAL="yes  (found CGAL v3)"
Index: crrcsim/configure
===================================================================
--- crrcsim.orig/configure
+++ crrcsim/configure
@@ -6515,13 +6515,13 @@ else
   as_fn_error $? "gmp library not found. Please install it." "$LINENO" 5
 fi
 
-      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_thread-mt" >&5
-$as_echo_n "checking for main in -lboost_thread-mt... " >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_thread" >&5
+$as_echo_n "checking for main in -lboost_thread... " >&6; }
 if ${ac_cv_lib_boost_thread_mt_main+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lboost_thread-mt  $LIBS"
+LIBS="-lboost_thread  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -6550,10 +6550,10 @@ if test "x$ac_cv_lib_boost_thread_mt_mai
 #define HAVE_LIBBOOST_THREAD_MT 1
 _ACEOF
 
-  LIBS="-lboost_thread-mt $LIBS"
+  LIBS="-lboost_thread $LIBS"
 
 else
-  as_fn_error $? "boost_thread-mt library not found. Please install it." "$LINENO" 5
+  as_fn_error $? "boost_thread library not found. Please install it." "$LINENO" 5
 fi
 
     else