Skip to content

Commit 19f1370

Browse files
committed
Minor style cleanup of thread test script.
1 parent 250e516 commit 19f1370

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

config/acx_pthread.m4

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ for flag in $acx_pthread_flags; do
9292
PTHREAD_CFLAGS="$flag"
9393
;;
9494
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+
;;
101101
102102
*)
103103
AC_MSG_CHECKING([for the pthreads library -l$flag])
@@ -168,11 +168,11 @@ if test "x$acx_pthread_ok" = xyes; then
168168
169169
AC_MSG_CHECKING([if more special flags are required for pthreads])
170170
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
176176
AC_MSG_RESULT(${flag})
177177
if test "x$flag" != xno; then
178178
PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy