@@ -11750,13 +11750,12 @@ fi
11750
11750
11751
11751
11752
11752
11753
- for ac_func in strerror_r gethostbyname_r
11753
+ for ac_func in strerror_r
11754
11754
do :
11755
- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11756
- ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11757
- if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11755
+ ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
11756
+ if test "x$ac_cv_func_strerror_r" = xyes; then :
11758
11757
cat >>confdefs.h <<_ACEOF
11759
- #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11758
+ #define HAVE_STRERROR_R 1
11760
11759
_ACEOF
11761
11760
11762
11761
fi
@@ -12431,62 +12430,6 @@ fi
12431
12430
12432
12431
12433
12432
if test "$enable_thread_safety" = yes; then
12434
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname_r" >&5
12435
- $as_echo_n "checking for library containing gethostbyname_r... " >&6; }
12436
- if ${ac_cv_search_gethostbyname_r+:} false; then :
12437
- $as_echo_n "(cached) " >&6
12438
- else
12439
- ac_func_search_save_LIBS=$LIBS
12440
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12441
- /* end confdefs.h. */
12442
-
12443
- /* Override any GCC internal prototype to avoid an error.
12444
- Use char because int might match the return type of a GCC
12445
- builtin and then its argument prototype would still apply. */
12446
- #ifdef __cplusplus
12447
- extern "C"
12448
- #endif
12449
- char gethostbyname_r ();
12450
- int
12451
- main ()
12452
- {
12453
- return gethostbyname_r ();
12454
- ;
12455
- return 0;
12456
- }
12457
- _ACEOF
12458
- for ac_lib in '' nsl; do
12459
- if test -z "$ac_lib"; then
12460
- ac_res="none required"
12461
- else
12462
- ac_res=-l$ac_lib
12463
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12464
- fi
12465
- if ac_fn_c_try_link "$LINENO"; then :
12466
- ac_cv_search_gethostbyname_r=$ac_res
12467
- fi
12468
- rm -f core conftest.err conftest.$ac_objext \
12469
- conftest$ac_exeext
12470
- if ${ac_cv_search_gethostbyname_r+:} false; then :
12471
- break
12472
- fi
12473
- done
12474
- if ${ac_cv_search_gethostbyname_r+:} false; then :
12475
-
12476
- else
12477
- ac_cv_search_gethostbyname_r=no
12478
- fi
12479
- rm conftest.$ac_ext
12480
- LIBS=$ac_func_search_save_LIBS
12481
- fi
12482
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname_r" >&5
12483
- $as_echo "$ac_cv_search_gethostbyname_r" >&6; }
12484
- ac_res=$ac_cv_search_gethostbyname_r
12485
- if test "$ac_res" != no; then :
12486
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12487
-
12488
- fi
12489
-
12490
12433
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_barrier_wait" >&5
12491
12434
$as_echo_n "checking for library containing pthread_barrier_wait... " >&6; }
12492
12435
if ${ac_cv_search_pthread_barrier_wait+:} false; then :
0 commit comments