- compare disk size with the size calculated from geometry to avoid image
[bochs-mirror.git] / .conf.linux
blob8bed229606e30e67298aecf4f89f51d4dcb0326c
1 #!/bin/sh
3 # .conf.linux
6 #which_config=normal
7 which_config=plugins
9 CC="gcc"
10 CXX="c++"
11 CFLAGS="-Wall -O3 -fomit-frame-pointer -pipe" # for speed
12 #CFLAGS="-Wall -g -pipe" # for development
13 CXXFLAGS="$CFLAGS"
15 export CC
16 export CXX
17 export CFLAGS
18 export CXXFLAGS
21 case $which_config in
23 normal)
25 #######################################################################
26 # configuration 1 for release binary RPMs
27 # Include a few standard options, speed optimizations, X11 only.
28 #######################################################################
29 ./configure --enable-sb16 \
30 --enable-ne2000 \
31 --enable-all-optimizations \
32 --enable-cpu-level=6 \
33 --enable-sse=1 \
34 --enable-pci \
35 --enable-clgd54xx \
36 --enable-usb \
37 --enable-save-restore \
38 ${CONFIGURE_ARGS}
41 plugins)
42 #######################################################################
43 # configuration 2 for release binary RPMs
44 # Include plugins, every possible gui.
45 #######################################################################
46 ./configure --enable-sb16 \
47 --enable-ne2000 \
48 --enable-all-optimizations \
49 --enable-cpu-level=6 \
50 --enable-sse=1 \
51 --enable-pci \
52 --enable-clgd54xx \
53 --enable-usb \
54 --enable-save-restore \
55 --enable-plugins \
56 --with-all-libs \
57 ${CONFIGURE_ARGS}
60 esac