--- parser3/configure 2013/07/21 20:36:36 1.162 +++ parser3/configure 2013/07/29 10:01:59 1.165 @@ -17462,6 +17462,18 @@ _ACEOF ;; esac +ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" +case $ac_cv_c_uint16_t in #( + no|yes) ;; #( + *) + + +cat >>confdefs.h <<_ACEOF +#define uint16_t $ac_cv_c_uint16_t +_ACEOF +;; + esac + ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" case $ac_cv_c_uint32_t in #( no|yes) ;; #( @@ -17854,7 +17866,7 @@ fi done -for ac_header in errno.h dirent.h fcntl.h io.h sys/file.h sys/locking.h sys/select.h sys/resource.h +for ac_header in errno.h dirent.h fcntl.h io.h sys/file.h sys/locking.h sys/select.h sys/resource.h sys/wait.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" @@ -17867,7 +17879,7 @@ fi done -for ac_header in winsock.h sys/socket.h netinet/in.h arpa/inet.h netdb.h +for ac_header in sys/socket.h netinet/in.h arpa/inet.h netdb.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" @@ -18105,51 +18117,6 @@ fi $as_echo "#define WIN32 /**/" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lwsock32" >&5 -$as_echo_n "checking for socket in -lwsock32... " >&6; } -if ${ac_cv_lib_wsock32_socket+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lwsock32 $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 socket (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_wsock32_socket=yes -else - ac_cv_lib_wsock32_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_wsock32_socket" >&5 -$as_echo "$ac_cv_lib_wsock32_socket" >&6; } -if test "x$ac_cv_lib_wsock32_socket" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBWSOCK32 1 -_ACEOF - - LIBS="-lwsock32 $LIBS" - -fi - ;; esac