Changeset: 338278a768f4 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=338278a768f4
Modified Files:
        buildtools/conf/MonetDB.m4
Branch: default
Log Message:

AM_MONETDB_LIB_PTHREAD: don't unconditionally add -lrt

Fix such that we don't add -lrt for platforms that don't need it, and
also may not have it, like Darwin.


diffs (12 lines):

diff -r d4b0743417a8 -r 338278a768f4 buildtools/conf/MonetDB.m4
--- a/buildtools/conf/MonetDB.m4        Tue Nov 02 11:47:29 2010 +0100
+++ b/buildtools/conf/MonetDB.m4        Tue Nov 02 12:41:42 2010 +0100
@@ -2308,7 +2308,7 @@
                dnl so we DO need to check for it, for platforms which have it
                dnl in a separate lib, like Solaris
                AC_SEARCH_LIBS(sem_wait, rt,
-                       [PTHREAD_LIBS="$PTHREAD_LIBS -lrt"])
+                       [PTHREAD_LIBS="$PTHREAD_LIBS $ac_cv_search_sem_wait"])
                LIBS="$save_LIBS"
                CPPFLAGS="$save_CPPFLAGS"
 
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to