- compile beos-specific cdrom file if $target says beos, rather than if

they used --with-beos.
This commit is contained in:
Bryce Denney 2002-10-02 12:11:25 +00:00
parent 1aeb4c71b1
commit 698da0c303
2 changed files with 4261 additions and 2066 deletions

6317
bochs/configure vendored

File diff suppressed because it is too large Load Diff

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.143 2002-10-02 00:53:20 bdenney Exp $]])
AC_REVISION([[$Id: configure.in,v 1.144 2002-10-02 12:11:25 bdenney Exp $]])
AC_CONFIG_HEADER(config.h)
dnl // Put Bochs version information right here so that it gets substituted
@ -1169,10 +1169,12 @@ AC_ARG_ENABLE(cdrom,
AC_MSG_RESULT(Using OSX IOKit CD Interface)
CDROM_OBJS="cdrom_osx.o"
EXTRA_LINK_OPTS="${EXTRA_LINK_OPTS} -framework IOKit -framework CoreFoundation"
elif test "$with_beos" = yes; then
# use the beos cdrom file instead
CDROM_OBJS="$CDROM_OBJS cdrom_beos.o"
fi
case $target in
*-beos*)
# use the beos cdrom file instead
CDROM_OBJS="$CDROM_OBJS cdrom_beos.o"
esac
AC_DEFINE(BX_SUPPORT_CDROM, 1)
fi],
[