From: Carlo B. <car...@li...> - 2012-06-05 09:29:36
|
# HG changeset patch # User Carlo Bramini <car...@li...> # Date 1338887485 -10800 # Node ID 245f329f4731d73f43c1755f29164c15e4aaa7c6 # Branch default # Parent 90d11c710feb698f4e02bf226dbe4edba215062f CYGWIN needs PTHREAD_CFLAGS to be empty and PTHREAD_LIBS to be "-lpthread" diff --git a/m4/pthreads.m4 b/m4/pthreads.m4 --- a/m4/pthreads.m4 +++ b/m4/pthreads.m4 @@ -19,6 +19,7 @@ if test "${PTHREAD_CFLAGS-unset}" = "unset"; then case $host in *-mingw*) PTHREAD_CFLAGS="" ;; + *-cygwin*) PTHREAD_CFLAGS="" ;; *-hpux11*) PTHREAD_CFLAGS="" ;; *-darwin*) PTHREAD_CFLAGS="" ;; *-solaris*|*-linux-gnu) @@ -31,6 +32,7 @@ if test "${PTHREAD_LIBS-unset}" = "unset"; then case $host in *-mingw*) PTHREAD_LIBS="-lpthreadGC2" ;; + *-cygwin*) PTHREAD_LIBS="-lpthread" ;; *-hpux11*) PTHREAD_LIBS="-lpthread" ;; *-darwin*) PTHREAD_LIBS="" ;; *-solaris*) |