projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reverted the last 2 changes to this file, the border stuff has nothing to do with...
[wxWidgets.git]
/
distrib
/
scripts
/
mac
/
mac_options.inc
diff --git
a/distrib/scripts/mac/mac_options.inc
b/distrib/scripts/mac/mac_options.inc
index 629f969dd92ee181ae1d8787b0debe65abe8bae7..20d995d874731154c27615088995a99f6d80f316 100644
(file)
--- a/
distrib/scripts/mac/mac_options.inc
+++ b/
distrib/scripts/mac/mac_options.inc
@@
-4,19
+4,19
@@
WXPYTHON=0
UNICODE=0
DEBUG=0
CARBON=1
UNICODE=0
DEBUG=0
CARBON=1
-COCOA=0
+PORT="mac"
STATIC=0
# Process command line options.
for i in "$@"; do
case "$i" in
STATIC=0
# Process command line options.
for i in "$@"; do
case "$i" in
- unicode) UNICODE=1 ;;
- ansi) UNICODE=0 ;;
- debug) DEBUG=1 ;;
- wxpython) WXPYTHON=1 ;;
+
unicode) UNICODE=1 ;;
+
ansi) UNICODE=0 ;;
+
debug) DEBUG=1 ;;
+
wxpython) WXPYTHON=1 ;;
universal) UNIVERSAL=1 ;;
universal) UNIVERSAL=1 ;;
- carbon)
CARBON=1
;;
- cocoa)
COCOA=1
;;
+ carbon)
PORT="mac"
;;
+ cocoa)
PORT="cocoa"
;;
static) STATIC=1 ;;
*)
usage
static) STATIC=1 ;;
*)
usage
@@
-25,6
+25,4
@@
for i in "$@"; do
esac
done
esac
done
-if [ "$COCOA" = "1" ]; then
- OTHER_OPTS="--with-cocoa "
-fi
\ No newline at end of file
+OTHER_OPTS="--with-$PORT "
\ No newline at end of file