2001-05-23 07:16:34 +04:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2002-03-21 05:50:06 +03:00
|
|
|
# .conf.linux
|
|
|
|
#
|
2002-11-19 19:35:00 +03:00
|
|
|
|
|
|
|
which_config=normal
|
|
|
|
#which_config=plugins
|
2001-05-23 07:16:34 +04:00
|
|
|
|
2001-10-08 01:23:00 +04:00
|
|
|
CC="gcc"
|
2001-05-23 07:16:34 +04:00
|
|
|
CXX="c++"
|
2002-11-19 19:35:00 +03:00
|
|
|
CFLAGS="-Wall -O2 -fomit-frame-pointer -pipe" # for speed
|
|
|
|
#CFLAGS="-Wall -g -pipe" # for development
|
2001-05-23 07:16:34 +04:00
|
|
|
CXXFLAGS="$CFLAGS"
|
|
|
|
|
|
|
|
export CC
|
|
|
|
export CXX
|
|
|
|
export CFLAGS
|
|
|
|
export CXXFLAGS
|
|
|
|
|
2002-11-19 19:35:00 +03:00
|
|
|
|
|
|
|
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
|