X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d23c9b7d9977707bfe9d83d1b30cb5147126b3c..619ddbbe360355c760feb140a65839aa28fc8b19:/distrib/scripts/mac/mac_options.inc?ds=sidebyside diff --git a/distrib/scripts/mac/mac_options.inc b/distrib/scripts/mac/mac_options.inc index 629f969dd9..3b4666f367 100644 --- a/distrib/scripts/mac/mac_options.inc +++ b/distrib/scripts/mac/mac_options.inc @@ -4,27 +4,25 @@ WXPYTHON=0 UNICODE=0 DEBUG=0 CARBON=1 -COCOA=0 +PORT="mac" 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 ;; - carbon) CARBON=1 ;; - cocoa) COCOA=1 ;; + carbon) PORT="mac" ;; + cocoa) PORT="cocoa" ;; static) STATIC=1 ;; - *) + *) usage exit ;; 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