CVS User Account cvsuser
Fri Jul 15 18:52:10 PDT 2005
Log Message:
-----------
Add test case to allow FreBSD 5+ to use the prefered -lpthread over -pthread as used in versions prior to 5

Modified Files:
--------------
    slony1-engine/config:
        acx_pthread.m4 (r1.7 -> r1.8)

-------------- next part --------------
Index: acx_pthread.m4
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/config/acx_pthread.m4,v
retrieving revision 1.7
retrieving revision 1.8
diff -Lconfig/acx_pthread.m4 -Lconfig/acx_pthread.m4 -u -w -r1.7 -r1.8
--- config/acx_pthread.m4
+++ config/acx_pthread.m4
@@ -74,6 +74,9 @@
 	*cygwin*)
 	acx_pthread_flags="-lpthread $acx_pthread_flags"
 	;;
+	*freebsd*)
+	# freebsd 4 uses -pthread, freebsd 5 and above use -lpthread
+	acx_pthread_flags="pthread -pthread"
 esac
 
 if test x"$acx_pthread_ok" = xno; then


More information about the Slony1-commit mailing list