Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit19f1370

Browse files
committed
Minor style cleanup of thread test script.
1 parent250e516 commit19f1370

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-
# Wehandle 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+
# Wealways 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)

[8]ページ先頭

©2009-2025 Movatter.jp