Diff for /parser3/configure between versions 1.162 and 1.164

version 1.162, 2013/07/21 20:36:36 version 1.164, 2013/07/22 15:18:14
Line 17854  fi Line 17854  fi
   
 done  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 :  do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`    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"  ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
Line 17867  fi Line 17867  fi
   
 done  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 :  do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`    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"  ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
Line 18105  fi Line 18105  fi
   
 $as_echo "#define WIN32 /**/" >>confdefs.h  $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  esac
   

Removed from v.1.162  
changed lines
  Added in v.1.164


E-mail: