File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -9512,9 +9512,7 @@ _ACEOF
9512
9512
fi
9513
9513
# Dynamic linking for HP-UX
9514
9514
9515
- # only check for sem_init if thread support is requested
9516
- if test " $with_threads " = " yes" -o -z " $with_threads " ; then
9517
- { $as_echo " $as_me :${as_lineno-$LINENO } : checking for library containing sem_init" >&5
9515
+ { $as_echo " $as_me :${as_lineno-$LINENO } : checking for library containing sem_init" >&5
9518
9516
$as_echo_n " checking for library containing sem_init... " >&6 ; }
9519
9517
if ${ac_cv_search_sem_init+: } false ; then :
9520
9518
$as_echo_n " (cached) " >&6
9572
9570
# 'Real Time' functions on Solaris
9573
9571
# posix4 on Solaris 2.6
9574
9572
# pthread (first!) on Linux
9575
- fi
9576
9573
9577
9574
# check if we need libintl for locale functions
9578
9575
{ $as_echo " $as_me :${as_lineno-$LINENO } : checking for textdomain in -lintl" >&5
@@ -10150,9 +10147,6 @@ then
10150
10147
fi
10151
10148
posix_threads=yes
10152
10149
else
10153
- if test ! -z " $with_threads " -a -d " $with_threads "
10154
- then LDFLAGS=" $LDFLAGS -L$with_threads "
10155
- fi
10156
10150
if test ! -z " $withval " -a -d " $withval "
10157
10151
then LDFLAGS=" $LDFLAGS -L$withval "
10158
10152
fi
Original file line number Diff line number Diff line change @@ -2677,12 +2677,9 @@ AC_CHECK_LIB(sendfile, sendfile)
2677
2677
AC_CHECK_LIB ( dl , dlopen ) # Dynamic linking for SunOS/Solaris and SYSV
2678
2678
AC_CHECK_LIB ( dld , shl_load ) # Dynamic linking for HP-UX
2679
2679
2680
- # only check for sem_init if thread support is requested
2681
- if test "$with_threads" = "yes" -o -z "$with_threads"; then
2682
- AC_SEARCH_LIBS ( sem_init , pthread rt posix4 ) # 'Real Time' functions on Solaris
2680
+ AC_SEARCH_LIBS ( sem_init , pthread rt posix4 ) # 'Real Time' functions on Solaris
2683
2681
# posix4 on Solaris 2.6
2684
2682
# pthread (first!) on Linux
2685
- fi
2686
2683
2687
2684
# check if we need libintl for locale functions
2688
2685
AC_CHECK_LIB ( intl , textdomain ,
@@ -2926,9 +2923,6 @@ then
2926
2923
fi
2927
2924
posix_threads=yes
2928
2925
else
2929
- if test ! -z "$with_threads" -a -d "$with_threads"
2930
- then LDFLAGS="$LDFLAGS -L$with_threads"
2931
- fi
2932
2926
if test ! -z "$withval" -a -d "$withval"
2933
2927
then LDFLAGS="$LDFLAGS -L$withval"
2934
2928
fi
You can’t perform that action at this time.
0 commit comments