- I thought I would add mmx.o ONLY when --enable-mmx was present. Stanislav

has been assuming we would compile mmx.o all the time, so I took out the
  conditional compile stuff.
This commit is contained in:
Bryce Denney 2002-08-26 19:07:00 +00:00
parent edc4d5045f
commit 10f56f60d1
2 changed files with 1 additions and 6 deletions

View File

@ -2,7 +2,7 @@ dnl // Process this file with autoconf to produce a configure script.
AC_PREREQ(2.4)
AC_INIT(bochs.h)
AC_REVISION([[$Id: configure.in,v 1.88 2002-08-26 16:40:21 bdenney Exp $]])
AC_REVISION([[$Id: configure.in,v 1.89 2002-08-26 19:06:59 bdenney Exp $]])
AC_CONFIG_HEADER(config.h)
dnl // Put Bochs version information right here so that it gets substituted
@ -856,13 +856,11 @@ AC_ARG_ENABLE(vbe,
)
AC_MSG_CHECKING(for MMX support)
MMX_OBJS=''
AC_ARG_ENABLE(mmx,
[ --enable-mmx compile in MMX emulation],
[if test "$enableval" = yes; then
AC_MSG_RESULT(yes)
AC_DEFINE(BX_SUPPORT_MMX, 1)
MMX_OBJS='mmx.o'
elif test "$enableval" = no; then
AC_MSG_RESULT(no)
AC_DEFINE(BX_SUPPORT_MMX, 0)
@ -873,7 +871,6 @@ AC_ARG_ENABLE(mmx,
AC_DEFINE(BX_SUPPORT_MMX, 0)
]
)
AC_SUBST(MMX_OBJS)
AC_MSG_CHECKING(for FPU emulation)
FPU_VAR=''

View File

@ -43,7 +43,6 @@ RANLIB = @RANLIB@
BX_INCDIRS = -I.. -I$(srcdir)/.. -I../@INSTRUMENT_DIR@ -I$(srcdir)/../@INSTRUMENT_DIR@
MMX_OBJS = @MMX_OBJS@
APIC_OBJS = @APIC_OBJS@
OBJS = \
@ -92,7 +91,6 @@ OBJS = \
soft_int.o \
string.o \
bcd.o \
$(MMX_OBJS) \
$(APIC_OBJS)
BX_INCLUDES = ../bochs.h ../config.h