- 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
# 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.
# Generated by GNU Autoconf 2.53.
#
@ -32118,6 +32118,10 @@ if test "${enable_sb16+set}" = set; then
echo "${ECHO_T}no" >&6
cat >>confdefs.h <<\_ACEOF
#define BX_SUPPORT_SB16 0
_ACEOF
cat >>confdefs.h <<\_ACEOF
#define BX_SUPPORT_GAME 0
_ACEOF
else
@ -32162,6 +32166,10 @@ echo "${ECHO_T}win" >&6
_ACEOF
GAME_OBJS='gameport.o'
cat >>confdefs.h <<\_ACEOF
#define BX_SUPPORT_GAME 1
_ACEOF
gameport_present=1
fi
else
@ -32172,6 +32180,10 @@ echo "${ECHO_T}no" >&6
#define BX_SUPPORT_SB16 0
_ACEOF
cat >>confdefs.h <<\_ACEOF
#define BX_SUPPORT_GAME 0
_ACEOF
fi;
@ -32189,6 +32201,10 @@ if test "${enable_gameport+set}" = set; then
echo "${ECHO_T}yes" >&6
if test "$gameport_present" = 0; then
GAME_OBJS='gameport.o'
cat >>confdefs.h <<\_ACEOF
#define BX_SUPPORT_GAME 1
_ACEOF
case $target in
*-cygwin* | *-mingw32*)
DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm"
@ -32199,6 +32215,10 @@ echo "${ECHO_T}yes" >&6
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
GAME_OBJS=''
cat >>confdefs.h <<\_ACEOF
#define BX_SUPPORT_GAME 0
_ACEOF
fi
else

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.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(ltdlconf.h)
@ -1586,6 +1586,7 @@ AC_ARG_ENABLE(sb16,
[if test "$enableval" = no; then
AC_MSG_RESULT(no)
AC_DEFINE(BX_SUPPORT_SB16, 0)
AC_DEFINE(BX_SUPPORT_GAME, 0)
else
case "$enableval" in
dummy)
@ -1613,12 +1614,14 @@ AC_ARG_ENABLE(sb16,
SB16_OBJS='sb16.o'
AC_DEFINE(BX_SUPPORT_SB16, 1)
GAME_OBJS='gameport.o'
AC_DEFINE(BX_SUPPORT_GAME, 1)
gameport_present=1
fi],
[
AC_MSG_RESULT(no)
AC_DEFINE(BX_SUPPORT_SB16, 0)
AC_DEFINE(BX_SUPPORT_GAME, 0)
]
)
AC_SUBST(SB16_OBJS)
@ -1632,6 +1635,7 @@ AC_ARG_ENABLE(gameport,
AC_MSG_RESULT(yes)
if test "$gameport_present" = 0; then
GAME_OBJS='gameport.o'
AC_DEFINE(BX_SUPPORT_GAME, 1)
case $target in
*-cygwin* | *-mingw32*)
DEVICE_LINK_OPTS="$DEVICE_LINK_OPTS -lwinmm"
@ -1641,6 +1645,7 @@ AC_ARG_ENABLE(gameport,
else
AC_MSG_RESULT(no)
GAME_OBJS=''
AC_DEFINE(BX_SUPPORT_GAME, 0)
fi],
[
if test "$gameport_present" = 1; then