@@ -722,7 +722,6 @@ with_tcl
722722ICU_LIBS
723723ICU_CFLAGS
724724with_icu
725- enable_thread_safety
726725INCLUDES
727726autodepend
728727PKG_CONFIG_LIBDIR
@@ -848,7 +847,6 @@ with_CC
848847with_llvm
849848enable_depend
850849enable_cassert
851- enable_thread_safety
852850with_icu
853851with_tcl
854852with_tclconfig
@@ -1536,7 +1534,6 @@ Optional Features:
15361534 --enable-tap-tests enable TAP tests (requires Perl and IPC::Run)
15371535 --enable-depend turn on automatic dependency tracking
15381536 --enable-cassert enable assertion checks (for debugging)
1539- --disable-thread-safety disable thread-safety in client libraries
15401537 --disable-largefile omit support for large files
15411538
15421539Optional Packages:
@@ -8338,43 +8335,6 @@ $as_echo "$as_me: WARNING: *** Library directory $dir does not exist." >&2;}
83388335done
83398336IFS=$ac_save_IFS
83408337
8341- #
8342- # Enable thread-safe client libraries
8343- #
8344- { $as_echo "$as_me:${as_lineno-$LINENO}: checking allow thread-safe client libraries" >&5
8345- $as_echo_n "checking allow thread-safe client libraries... " >&6; }
8346-
8347-
8348- # Check whether --enable-thread-safety was given.
8349- if test "${enable_thread_safety+set}" = set; then :
8350- enableval=$enable_thread_safety;
8351- case $enableval in
8352- yes)
8353- :
8354- ;;
8355- no)
8356- :
8357- ;;
8358- *)
8359- as_fn_error $? "no argument expected for --enable-thread-safety option" "$LINENO" 5
8360- ;;
8361- esac
8362-
8363- else
8364- enable_thread_safety=yes
8365-
8366- fi
8367-
8368-
8369- if test "$enable_thread_safety" = yes; then
8370-
8371- $as_echo "#define ENABLE_THREAD_SAFETY 1" >>confdefs.h
8372-
8373- fi
8374- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_thread_safety" >&5
8375- $as_echo "$enable_thread_safety" >&6; }
8376-
8377-
83788338#
83798339# ICU
83808340#
@@ -11064,7 +11024,7 @@ fi
1106411024done
1106511025
1106611026
11067- if test "$enable_thread_safety" = yes -a "$ PORTNAME" != "win32"; then :
11027+ if test "$PORTNAME" != "win32"; then :
1106811028 # then
1106911029
1107011030
@@ -11723,7 +11683,7 @@ if test "x$ac_cv_header_pthread_h" = xyes; then :
1172311683
1172411684else
1172511685 as_fn_error $? "
11726- pthread.h not found; use --disable-thread-safety to disable thread safety " "$LINENO" 5
11686+ pthread.h not found" "$LINENO" 5
1172711687fi
1172811688
1172911689
@@ -12407,8 +12367,7 @@ if test "$ac_res" != no; then :
1240712367fi
1240812368
1240912369
12410- if test "$enable_thread_safety" = yes; then
12411- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_barrier_wait" >&5
12370+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_barrier_wait" >&5
1241212371$as_echo_n "checking for library containing pthread_barrier_wait... " >&6; }
1241312372if ${ac_cv_search_pthread_barrier_wait+:} false; then :
1241412373 $as_echo_n "(cached) " >&6
@@ -12464,7 +12423,6 @@ if test "$ac_res" != no; then :
1246412423
1246512424fi
1246612425
12467- fi
1246812426
1246912427if test "$with_readline" = yes; then
1247012428
@@ -13349,7 +13307,7 @@ else
1334913307 thread_safe_libldap=no
1335013308fi
1335113309
13352- if test "$enable_thread_safety" = yes -a "$ thread_safe_libldap" = no; then
13310+ if test "$thread_safe_libldap" = no; then
1335313311 # Use ldap_r for FE if available, else assume ldap is thread-safe.
1335413312 # On some platforms ldap_r fails to link without PTHREAD_LIBS.
1335513313 LIBS="$_LIBS"
@@ -16377,8 +16335,7 @@ fi
1637716335
1637816336
1637916337
16380- if test "$enable_thread_safety" = yes; then
16381- ac_fn_c_check_func "$LINENO" "pthread_barrier_wait" "ac_cv_func_pthread_barrier_wait"
16338+ ac_fn_c_check_func "$LINENO" "pthread_barrier_wait" "ac_cv_func_pthread_barrier_wait"
1638216339if test "x$ac_cv_func_pthread_barrier_wait" = xyes; then :
1638316340 $as_echo "#define HAVE_PTHREAD_BARRIER_WAIT 1" >>confdefs.h
1638416341
@@ -16392,7 +16349,6 @@ esac
1639216349fi
1639316350
1639416351
16395- fi
1639616352
1639716353if test "$PORTNAME" = "win32" -o "$PORTNAME" = "cygwin"; then
1639816354 # Cygwin and (apparently, based on test results) Mingw both
0 commit comments