2006-05-03 00:36:17 -04:00
|
|
|
|
|
|
|
UNIVERSAL=0
|
|
|
|
WXPYTHON=0
|
|
|
|
UNICODE=0
|
|
|
|
DEBUG=0
|
|
|
|
CARBON=1
|
2006-07-05 00:09:40 -04:00
|
|
|
PORT="mac"
|
2006-05-03 00:36:17 -04:00
|
|
|
STATIC=0
|
|
|
|
|
|
|
|
# Process command line options.
|
|
|
|
for i in "$@"; do
|
|
|
|
case "$i" in
|
2006-07-05 14:39:03 -04:00
|
|
|
unicode) UNICODE=1 ;;
|
|
|
|
ansi) UNICODE=0 ;;
|
|
|
|
debug) DEBUG=1 ;;
|
|
|
|
wxpython) WXPYTHON=1 ;;
|
2006-05-03 00:36:17 -04:00
|
|
|
universal) UNIVERSAL=1 ;;
|
2006-07-05 00:09:40 -04:00
|
|
|
carbon) PORT="mac" ;;
|
|
|
|
cocoa) PORT="cocoa" ;;
|
2006-05-03 00:36:17 -04:00
|
|
|
static) STATIC=1 ;;
|
2008-03-30 14:30:48 -04:00
|
|
|
*)
|
2006-05-03 00:36:17 -04:00
|
|
|
usage
|
|
|
|
exit
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
2006-07-05 00:09:40 -04:00
|
|
|
OTHER_OPTS="--with-$PORT "
|