Changeset: 0ac76e96fe15 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0ac76e96fe15
Modified Files:
        configure.ag
Branch: default
Log Message:

Disable pthread with clang only on OSX.


diffs (17 lines):

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -1462,10 +1462,12 @@ AS_VAR_IF([have_pthread], [no], [], [
                        # 
https://www.monetdb.org/pipermail/developers-list/2014-March/004264.html
                        # a better alternative might be required but is
                        # still pending ...
+                       AS_CASE([$host],
+                               [*-darwin*], [], [
                        PTHREAD_INCS="-pthread"
                        PTHREAD_LIBS="-pthread"
                        CPPFLAGS="$CPPFLAGS $PTHREAD_INCS"
-                       LIBS="$LIBS $PTHREAD_LIBS"],
+                       LIBS="$LIBS $PTHREAD_LIBS"])],
                [yes-auto-*|yes-yes-*], [
                        # use GCC's knowledge about the target platform, sets 
flags
                        # for both the preprocessor as well as the linker
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to