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
|
2002-12-13 03:04:09 +03:00
|
|
|
CFLAGS="-pipe -O2 -I/sw/include"
|
|
|
|
CPPFLAGS="$CFLAGS"
|
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
|
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 \
|
|
|
|
--enable-vbe \
|
2003-10-02 15:33:42 +04:00
|
|
|
--enable-all-optimizations \
|
|
|
|
${CONFIGURE_ARGS}
|