Date: Wednesday, March 21, 2007 @ 18:44:10
Author: marc
Path: /cvsroot/carob/libmysequoia
Modified: configure.ac (1.36 -> 1.37)
Quick -pthread fix for CHECK_LIB(carob). Should probably use
ACX_PTHREAD instead.
--------------+
configure.ac | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Index: libmysequoia/configure.ac
diff -u libmysequoia/configure.ac:1.36 libmysequoia/configure.ac:1.37
--- libmysequoia/configure.ac:1.36 Wed Mar 21 18:03:24 2007
+++ libmysequoia/configure.ac Wed Mar 21 18:44:10 2007
@@ -161,8 +161,10 @@
AC_CHECK_LIB(carob, main, ,
[AC_MSG_ERROR([[libcarob not found. Try for instance:
./configure LDFLAGS="-L`pwd`/../carob"
- or ./configure LDFLAGS="-L/usr/local/lib"]])], -lgmp)
-
+ or ./configure LDFLAGS="-L/usr/local/lib"]])]
+ , -pthread)
+# -pthread works only with gcc.
+# Should probably use http://autoconf-archive.cryp.to/acx_pthread.html
# Check for mysql headers
AC_MSG_CHECKING([for MySQL headers])
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits