- missing defines BX_SUPPORT_GAME added

This commit is contained in:
Volker Ruppert 2003-12-26 14:18:06 +00:00
parent fc1abe8423
commit 0e1cac616d
2 changed files with 27 additions and 2 deletions

22
bochs/configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh #! /bin/sh
# From configure.in Id: configure.in,v 1.235 2003/12/26 13:53:39 vruppert Exp . # From configure.in Id: configure.in,v 1.236 2003/12/26 14:16:50 vruppert Exp .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53. # Generated by GNU Autoconf 2.53.
# #
@ -32118,6 +32118,10 @@ if test "${enable_sb16+set}" = set; then
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
cat >>confdefs.h <<\_ACEOF cat >>confdefs.h <<\_ACEOF
#define BX_SUPPORT_SB16 0 #define BX_SUPPORT_SB16 0
_ACEOF
cat >>confdefs.h <<\_ACEOF
#define BX_SUPPORT_GAME 0
_ACEOF _ACEOF
else else
@ -32162,6 +32166,10 @@ echo "${ECHO_T}win" >&6
_ACEOF _ACEOF
GAME_OBJS='gameport.o' GAME_OBJS='gameport.o'
cat >>confdefs.h <<\_ACEOF
#define BX_SUPPORT_GAME 1
_ACEOF
gameport_present=1 gameport_present=1
fi fi
else else
@ -32172,6 +32180,10 @@ echo "${ECHO_T}no" >&6
#define BX_SUPPORT_SB16 0 #define BX_SUPPORT_SB16 0
_ACEOF _ACEOF
cat >>confdefs.h <<\_ACEOF
#define BX_SUPPORT_GAME 0
_ACEOF
fi; fi;
@ -32189,6 +32201,10 @@ if test "${enable_gameport+set}" = set; then
echo "${ECHO_T}yes" >&6 echo "${ECHO_T}yes" >&6
if test "$gameport_present" = 0; then if test "$gameport_present" = 0; then
GAME_OBJS='gameport.o' GAME_OBJS='gameport.o'
cat >>confdefs.h <<\_ACEOF
#define BX_SUPPORT_GAME 1
_ACEOF
case $target in case $target in
*-cygwin* | *-mingw32*) *-cygwin* | *-mingw32*)
DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm" DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm"
@ -32199,6 +32215,10 @@ echo "${ECHO_T}yes" >&6
echo "$as_me:$LINENO: result: no" >&5 echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6 echo "${ECHO_T}no" >&6
GAME_OBJS='' GAME_OBJS=''
cat >>confdefs.h <<\_ACEOF
#define BX_SUPPORT_GAME 0
_ACEOF
fi fi
else else

View File

@ -2,7 +2,7 @@ dnl // Process this file with autoconf to produce a configure script.
AC_PREREQ(2.50) AC_PREREQ(2.50)
AC_INIT(bochs.h) AC_INIT(bochs.h)
AC_REVISION([[$Id: configure.in,v 1.235 2003-12-26 13:53:39 vruppert Exp $]]) AC_REVISION([[$Id: configure.in,v 1.236 2003-12-26 14:16:50 vruppert Exp $]])
AC_CONFIG_HEADER(config.h) AC_CONFIG_HEADER(config.h)
AC_CONFIG_HEADER(ltdlconf.h) AC_CONFIG_HEADER(ltdlconf.h)
@ -1586,6 +1586,7 @@ AC_ARG_ENABLE(sb16,
[if test "$enableval" = no; then [if test "$enableval" = no; then
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
AC_DEFINE(BX_SUPPORT_SB16, 0) AC_DEFINE(BX_SUPPORT_SB16, 0)
AC_DEFINE(BX_SUPPORT_GAME, 0)
else else
case "$enableval" in case "$enableval" in
dummy) dummy)
@ -1613,12 +1614,14 @@ AC_ARG_ENABLE(sb16,
SB16_OBJS='sb16.o' SB16_OBJS='sb16.o'
AC_DEFINE(BX_SUPPORT_SB16, 1) AC_DEFINE(BX_SUPPORT_SB16, 1)
GAME_OBJS='gameport.o' GAME_OBJS='gameport.o'
AC_DEFINE(BX_SUPPORT_GAME, 1)
gameport_present=1 gameport_present=1
fi], fi],
[ [
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
AC_DEFINE(BX_SUPPORT_SB16, 0) AC_DEFINE(BX_SUPPORT_SB16, 0)
AC_DEFINE(BX_SUPPORT_GAME, 0)
] ]
) )
AC_SUBST(SB16_OBJS) AC_SUBST(SB16_OBJS)
@ -1632,6 +1635,7 @@ AC_ARG_ENABLE(gameport,
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
if test "$gameport_present" = 0; then if test "$gameport_present" = 0; then
GAME_OBJS='gameport.o' GAME_OBJS='gameport.o'
AC_DEFINE(BX_SUPPORT_GAME, 1)
case $target in case $target in
*-cygwin* | *-mingw32*) *-cygwin* | *-mingw32*)
DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm" DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm"
@ -1641,6 +1645,7 @@ AC_ARG_ENABLE(gameport,
else else
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
GAME_OBJS='' GAME_OBJS=''
AC_DEFINE(BX_SUPPORT_GAME, 0)
fi], fi],
[ [
if test "$gameport_present" = 1; then if test "$gameport_present" = 1; then