]> git.saurik.com Git - wxWidgets.git/blob - distrib/scripts/mac/mac_options.inc
glibc's vswprintf doesn't nul terminate on truncation.
[wxWidgets.git] / distrib / scripts / mac / mac_options.inc
1
2 UNIVERSAL=0
3 WXPYTHON=0
4 UNICODE=0
5 DEBUG=0
6 CARBON=1
7 PORT="mac"
8 STATIC=0
9
10 # Process command line options.
11 for i in "$@"; do
12 case "$i" in
13 unicode) UNICODE=1 ;;
14 ansi) UNICODE=0 ;;
15 debug) DEBUG=1 ;;
16 wxpython) WXPYTHON=1 ;;
17 universal) UNIVERSAL=1 ;;
18 carbon) PORT="mac" ;;
19 cocoa) PORT="cocoa" ;;
20 static) STATIC=1 ;;
21 *)
22 usage
23 exit
24 ;;
25 esac
26 done
27
28 OTHER_OPTS="--with-$PORT "