$NetBSD: patch-configure,v 1.1 2015/11/20 14:28:02 joerg Exp $ --- configure.orig 2015-11-18 13:16:26.000000000 +0000 +++ configure @@ -11897,70 +11897,6 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ftime" >&5 -$as_echo_n "checking for library containing ftime... " >&6; } -if ${ac_cv_search_ftime+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char ftime (); -int -main () -{ -return ftime (); - ; - return 0; -} -_ACEOF -for ac_lib in '' compat; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - if ac_fn_c_try_link "$LINENO"; then : - ac_cv_search_ftime=$ac_res -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext - if ${ac_cv_search_ftime+:} false; then : - break -fi -done -if ${ac_cv_search_ftime+:} false; then : - -else - ac_cv_search_ftime=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ftime" >&5 -$as_echo "$ac_cv_search_ftime" >&6; } -ac_res=$ac_cv_search_ftime -if test "$ac_res" != no; then : - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -else - enable_http=no -fi - - - - - - - if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then