Skip to content

Commit 0d756f6

Browse files
committed
Delete redundant $with_threads in configure.ac
1 parent a5293b4 commit 0d756f6

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

configure.ac

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2677,12 +2677,9 @@ AC_CHECK_LIB(sendfile, sendfile)
26772677
AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
26782678
AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX
26792679

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
26832681
# posix4 on Solaris 2.6
26842682
# pthread (first!) on Linux
2685-
fi
26862683

26872684
# check if we need libintl for locale functions
26882685
AC_CHECK_LIB(intl, textdomain,
@@ -2926,9 +2923,6 @@ then
29262923
fi
29272924
posix_threads=yes
29282925
else
2929-
if test ! -z "$with_threads" -a -d "$with_threads"
2930-
then LDFLAGS="$LDFLAGS -L$with_threads"
2931-
fi
29322926
if test ! -z "$withval" -a -d "$withval"
29332927
then LDFLAGS="$LDFLAGS -L$withval"
29342928
fi

0 commit comments

Comments
 (0)