- the select() function is always present on win32 (wsock32.dll)

This commit is contained in:
Volker Ruppert 2005-07-03 07:38:13 +00:00
parent a95abc6bc4
commit c541e1986e
2 changed files with 17 additions and 2 deletions

14
bochs/configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Id: configure.in,v 1.289 2005/06/13 20:26:55 vruppert Exp .
# From configure.in Id: configure.in,v 1.290 2005/07/03 07:37:22 vruppert Exp .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59.
#
@ -37689,6 +37689,10 @@ _ACEOF
cat >>confdefs.h <<\_ACEOF
#define HAVE_ETHERTAP 0
_ACEOF
cat >>confdefs.h <<\_ACEOF
#define BX_HAVE_SELECT 1
_ACEOF
;;
@ -37699,12 +37703,20 @@ _ACEOF
if test "$networking" = yes; then
PRIMARY_TARGET="$PRIMARY_TARGET niclist.exe"
fi
cat >>confdefs.h <<\_ACEOF
#define BX_HAVE_SELECT 1
_ACEOF
;;
*-pc-mingw*)
BXIMAGE_LINK_OPTS="-luser32"
if test "$networking" = yes; then
PRIMARY_TARGET="$PRIMARY_TARGET niclist"
fi
cat >>confdefs.h <<\_ACEOF
#define BX_HAVE_SELECT 1
_ACEOF
;;
*-beos*)
PRIMARY_TARGET=.bochs_beos_target

View File

@ -2,7 +2,7 @@ dnl // Process this file with autoconf to produce a configure script.
AC_PREREQ(2.50)
AC_INIT(bochs.h)
AC_REVISION([[$Id: configure.in,v 1.289 2005-06-13 20:26:55 vruppert Exp $]])
AC_REVISION([[$Id: configure.in,v 1.290 2005-07-03 07:37:22 vruppert Exp $]])
AC_CONFIG_HEADER(config.h)
AC_CONFIG_HEADER(ltdlconf.h)
@ -2424,6 +2424,7 @@ case "$target" in
AC_DEFINE(BX_HAVE_SYS_MMAN_H, 0)
AC_DEFINE(BX_HAVE_USLEEP, 0)
AC_DEFINE(HAVE_ETHERTAP, 0)
AC_DEFINE(BX_HAVE_SELECT, 1)
;;
*-pc-cygwin*)
EXE=".exe"
@ -2432,12 +2433,14 @@ case "$target" in
if test "$networking" = yes; then
PRIMARY_TARGET="$PRIMARY_TARGET niclist.exe"
fi
AC_DEFINE(BX_HAVE_SELECT, 1)
;;
*-pc-mingw*)
BXIMAGE_LINK_OPTS="-luser32"
if test "$networking" = yes; then
PRIMARY_TARGET="$PRIMARY_TARGET niclist"
fi
AC_DEFINE(BX_HAVE_SELECT, 1)
;;
*-beos*)
PRIMARY_TARGET=.bochs_beos_target