From: Hallvard Furuseth Date: Sun, 20 Nov 2011 12:50:12 +0000 (+0100) Subject: Regenerate configure X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=27c95a70df1e05d186fd631ae00f05ef30b1dfcf;p=openldap Regenerate configure --- diff --git a/configure b/configure index 034725e75b..c979a061c6 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: d70d5c72ac4d46432c8be2361e4f7b543378319b . +# From configure.in Id: b347fe34b6da10656d58f36e042720ff12a6cfff . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.65. # @@ -13936,9 +13936,9 @@ _ACEOF fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnet" >&5 -$as_echo_n "checking for main in -lnet... " >&6; } -if test "${ac_cv_lib_net_main+set}" = set; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnet" >&5 +$as_echo_n "checking for socket in -lnet... " >&6; } +if test "${ac_cv_lib_net_socket+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -13946,27 +13946,33 @@ LIBS="-lnet $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 socket (); int main () { -return main (); +return socket (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_net_main=yes + ac_cv_lib_net_socket=yes else - ac_cv_lib_net_main=no + ac_cv_lib_net_socket=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_net_main" >&5 -$as_echo "$ac_cv_lib_net_main" >&6; } -if test "x$ac_cv_lib_net_main" = x""yes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_net_socket" >&5 +$as_echo "$ac_cv_lib_net_socket" >&6; } +if test "x$ac_cv_lib_net_socket" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBNET 1 _ACEOF