Bochs/bochs/.conf.linux

58 lines
1.5 KiB
Plaintext
Raw Normal View History

#!/bin/sh
#
# .conf.linux
#
#which_config=normal
which_config=plugins
CC="gcc"
CXX="c++"
CFLAGS="-Wall -O2 -fomit-frame-pointer -pipe" # for speed
#CFLAGS="-Wall -g -pipe" # for development
CXXFLAGS="$CFLAGS"
export CC
export CXX
export CFLAGS
export CXXFLAGS
case $which_config in
normal)
#######################################################################
# configuration 1 for release binary RPMs
# Include a few standard options, speed optimizations, X11 only.
#######################################################################
./configure --enable-cdrom \
--enable-sb16=linux \
--enable-ne2000 \
--enable-vbe \
--enable-all-optimizations \
${CONFIGURE_ARGS}
;;
plugins)
#######################################################################
# configuration 2 for release binary RPMs
# Include lots of extra stuff
# plugins, every possible gui.
#######################################################################
./configure --enable-cdrom \
--enable-sb16=linux \
--enable-ne2000 \
--enable-vbe \
--enable-all-optimizations \
${CONFIGURE_ARGS} \
--enable-plugins \
--enable-pci \
--enable-port-e9-hack \
--enable-mmx \
--enable-sse=2 \
--with-all-libs
;;
esac