removed checking for an unused library in configure.ac

This commit is contained in:
2022-10-07 23:30:25 +09:00
parent 913bb7e0b7
commit ba858ecbc0
7 changed files with 5 additions and 52 deletions

37
configure vendored
View File

@ -659,7 +659,6 @@ ENABLE_SSL_TRUE
SSL_LIBS
ENABLE_ALL_STATIC_FALSE
ENABLE_ALL_STATIC_TRUE
UNICOWS_LIBS
PTHREAD_CFLAGS
PTHREAD_LIBS
PTHREAD_CC
@ -15474,42 +15473,6 @@ $as_echo "#define HAVE_PTHREAD_MUTEX_TRYLOCK 1" >>confdefs.h
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
$as_echo_n "checking for main in -lunicows... " >&6; }
if ${ac_cv_lib_unicows_main+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lunicows $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
return main ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_unicows_main=yes
else
ac_cv_lib_unicows_main=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
$as_echo "$ac_cv_lib_unicows_main" >&6; }
if test "x$ac_cv_lib_unicows_main" = xyes; then :
UNICOWS_LIBS="-lunicows"
fi
# Check whether --enable-all-static was given.
if test "${enable_all_static+set}" = set; then :
enableval=$enable_all_static; enable_all_static_is=$enableval