configure: PTHREADS should be defined on cygwin, as well
authorBrian Paul <brianp@vmware.com>
Thu, 18 Feb 2010 19:46:12 +0000 (12:46 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 18 Feb 2010 19:46:12 +0000 (12:46 -0700)
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit c1a4f249f18a766488da0832fbf6700de93af2f8)

configure.ac

index be06adf5e5eee82dc2d3ee35119ac3ce1a91421f..485836a428215d0be0dff22a3c145519cb18f1e0 100644 (file)
@@ -92,6 +92,9 @@ linux*|*-gnu*|gnu*)
 solaris*)
     DEFINES="$DEFINES -DPTHREADS -DSVR4"
     ;;
+cygwin*)
+    DEFINES="$DEFINES -DPTHREADS"
+    ;;
 esac
 
 dnl Add flags for gcc and g++