@@ -722,7 +722,6 @@ with_tcl
722
722
ICU_LIBS
723
723
ICU_CFLAGS
724
724
with_icu
725
- enable_thread_safety
726
725
INCLUDES
727
726
autodepend
728
727
PKG_CONFIG_LIBDIR
@@ -848,7 +847,6 @@ with_CC
848
847
with_llvm
849
848
enable_depend
850
849
enable_cassert
851
- enable_thread_safety
852
850
with_icu
853
851
with_tcl
854
852
with_tclconfig
@@ -1536,7 +1534,6 @@ Optional Features:
1536
1534
--enable-tap-tests enable TAP tests (requires Perl and IPC::Run)
1537
1535
--enable-depend turn on automatic dependency tracking
1538
1536
--enable-cassert enable assertion checks (for debugging)
1539
- --disable-thread-safety disable thread-safety in client libraries
1540
1537
--disable-largefile omit support for large files
1541
1538
1542
1539
Optional Packages:
@@ -8338,43 +8335,6 @@ $as_echo "$as_me: WARNING: *** Library directory $dir does not exist." >&2;}
8338
8335
done
8339
8336
IFS=$ac_save_IFS
8340
8337
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
-
8378
8338
#
8379
8339
# ICU
8380
8340
#
@@ -11064,7 +11024,7 @@ fi
11064
11024
done
11065
11025
11066
11026
11067
- if test "$enable_thread_safety" = yes -a "$ PORTNAME" != "win32"; then :
11027
+ if test "$PORTNAME" != "win32"; then :
11068
11028
# then
11069
11029
11070
11030
@@ -11723,7 +11683,7 @@ if test "x$ac_cv_header_pthread_h" = xyes; then :
11723
11683
11724
11684
else
11725
11685
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
11727
11687
fi
11728
11688
11729
11689
@@ -12407,8 +12367,7 @@ if test "$ac_res" != no; then :
12407
12367
fi
12408
12368
12409
12369
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
12412
12371
$as_echo_n "checking for library containing pthread_barrier_wait... " >&6; }
12413
12372
if ${ac_cv_search_pthread_barrier_wait+:} false; then :
12414
12373
$as_echo_n "(cached) " >&6
@@ -12464,7 +12423,6 @@ if test "$ac_res" != no; then :
12464
12423
12465
12424
fi
12466
12425
12467
- fi
12468
12426
12469
12427
if test "$with_readline" = yes; then
12470
12428
@@ -13349,7 +13307,7 @@ else
13349
13307
thread_safe_libldap=no
13350
13308
fi
13351
13309
13352
- if test "$enable_thread_safety" = yes -a "$ thread_safe_libldap" = no; then
13310
+ if test "$thread_safe_libldap" = no; then
13353
13311
# Use ldap_r for FE if available, else assume ldap is thread-safe.
13354
13312
# On some platforms ldap_r fails to link without PTHREAD_LIBS.
13355
13313
LIBS="$_LIBS"
@@ -16377,8 +16335,7 @@ fi
16377
16335
16378
16336
16379
16337
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"
16382
16339
if test "x$ac_cv_func_pthread_barrier_wait" = xyes; then :
16383
16340
$as_echo "#define HAVE_PTHREAD_BARRIER_WAIT 1" >>confdefs.h
16384
16341
@@ -16392,7 +16349,6 @@ esac
16392
16349
fi
16393
16350
16394
16351
16395
- fi
16396
16352
16397
16353
if test "$PORTNAME" = "win32" -o "$PORTNAME" = "cygwin"; then
16398
16354
# Cygwin and (apparently, based on test results) Mingw both
0 commit comments