61c768015e
returned 1. Now the configure is the last command so the script should return whatever configure returns.
24 lines
566 B
Bash
24 lines
566 B
Bash
#!/bin/sh
|
|
|
|
# this sets up the compile for MacOS X
|
|
#
|
|
# 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.
|
|
|
|
set echo
|
|
CFLAGS="-pipe -O2 -I/sw/include"
|
|
CPPFLAGS="$CFLAGS"
|
|
CXXFLAGS="$CFLAGS"
|
|
LDFLAGS="-L/sw/lib"
|
|
|
|
export CFLAGS
|
|
export CPPFLAGS
|
|
export CXXFLAGS
|
|
export LDFLAGS
|
|
|
|
./configure --enable-cdrom \
|
|
--enable-vbe \
|
|
--enable-all-optimizations
|