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
|
|
|
|
2002-12-15 20:40:14 +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++"
|
2004-01-15 06:17:37 +03:00
|
|
|
CFLAGS="-Wall -O3 -fomit-frame-pointer -pipe" # for speed
|
2002-11-19 19:35:00 +03:00
|
|
|
#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-mmx \
|
|
|
|
--with-all-libs
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|