]> git.meshlink.io Git - catta/blobdiff - common/acx_pthread.m4
Fix compilation with -pthread
[catta] / common / acx_pthread.m4
index eeda301e3b3e240cd95c8fcaca79e97cc0f5d82c..b7f692a956b9cc07bbd0f432301cfd3b4eb7d0e4 100644 (file)
@@ -83,7 +83,7 @@ fi
 # which indicates that we try without any flags at all, and "pthread-config"
 # which is a program returning the flags for the Pth emulation library.
 
-acx_pthread_flags="pthreads pthread none -Kthread -kthread lthread -pthread -pthreads -mthreads --thread-safe -mt pthread-config"
+acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
 
 # The ordering *is* (sometimes) important.  Some notes on the
 # individual items follow: