@@ -92,12 +92,12 @@ for flag in $acx_pthread_flags; do
92
92
PTHREAD_CFLAGS="$flag"
93
93
;;
94
94
95
- pthread-config)
96
- AC_CHECK_PROG ( acx_pthread_config , pthread-config , yes , no )
97
- if test x"$acx_pthread_config" = xno; then continue; fi
98
- PTHREAD_CFLAGS="`pthread-config --cflags`"
99
- PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
100
- ;;
95
+ pthread-config)
96
+ AC_CHECK_PROG ( acx_pthread_config , pthread-config , yes , no )
97
+ if test x"$acx_pthread_config" = xno; then continue; fi
98
+ PTHREAD_CFLAGS="`pthread-config --cflags`"
99
+ PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
100
+ ;;
101
101
102
102
*)
103
103
AC_MSG_CHECKING ( [ for the pthreads library -l$flag] )
@@ -168,11 +168,11 @@ if test "x$acx_pthread_ok" = xyes; then
168
168
169
169
AC_MSG_CHECKING ( [ if more special flags are required for pthreads] )
170
170
flag=no
171
- # We handle this ourselves in PostgreSQL
172
- # case "${host_cpu}-${host_os}" in
173
- # *-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
174
- # *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
175
- # esac
171
+ # We always add these in PostgreSQL
172
+ # case "${host_cpu}-${host_os}" in
173
+ # *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
174
+ # *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
175
+ # esac
176
176
AC_MSG_RESULT ( ${flag} )
177
177
if test "x$flag" != xno; then
178
178
PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
0 commit comments