2001-09-27 07:56:36 +04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2001-12-11 16:42:23 +03:00
|
|
|
# this sets up the compile for MacOS X
|
2002-12-13 03:04:09 +03:00
|
|
|
#
|
|
|
|
# To support plugins on macosx, you must have "dlcompat" installed. You can
|
|
|
|
# get dlcompat by installing the fink package "dlcompat-devel". On the SF
|
|
|
|
# compile farm, dlcompat is in /sw/include and /sw/lib, so we have added
|
|
|
|
# those paths to the environment variables.
|
2001-09-27 07:56:36 +04:00
|
|
|
|
|
|
|
set echo
|
2003-12-30 03:40:04 +03:00
|
|
|
CFLAGS="-pipe -O3 -I/sw/include -fomit-frame-pointer -finline-functions -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-labels=16 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -fprefetch-loop-arrays -fmove-all-movables $CFLAGS"
|
2004-02-22 07:14:10 +03:00
|
|
|
CPATH="/sw/include"
|
2003-12-29 10:28:28 +03:00
|
|
|
CPPFLAGS=""
|
2001-09-27 07:56:36 +04:00
|
|
|
CXXFLAGS="$CFLAGS"
|
2002-12-13 03:04:09 +03:00
|
|
|
LDFLAGS="-L/sw/lib"
|
2001-09-27 07:56:36 +04:00
|
|
|
|
|
|
|
export CFLAGS
|
2004-02-22 07:14:10 +03:00
|
|
|
export CPATH
|
2002-12-13 03:12:29 +03:00
|
|
|
export CPPFLAGS
|
2001-09-27 07:56:36 +04:00
|
|
|
export CXXFLAGS
|
2002-12-13 03:12:29 +03:00
|
|
|
export LDFLAGS
|
2001-09-27 07:56:36 +04:00
|
|
|
|
2002-11-19 20:00:24 +03:00
|
|
|
./configure --enable-cdrom \
|
2005-03-22 19:44:24 +03:00
|
|
|
--enable-sb16 \
|
2003-12-29 10:28:28 +03:00
|
|
|
--enable-ne2000 \
|
2002-11-19 20:00:24 +03:00
|
|
|
--enable-vbe \
|
2003-10-02 15:33:42 +04:00
|
|
|
--enable-all-optimizations \
|
2005-03-12 19:34:49 +03:00
|
|
|
--enable-cpu-level=6 \
|
|
|
|
--enable-sse=1 \
|
|
|
|
--enable-pci \
|
|
|
|
--enable-clgd54xx \
|
2005-03-22 19:44:24 +03:00
|
|
|
--enable-plugins \
|
|
|
|
${CONFIGURE_ARGS}
|