]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/b
reverted last commit, still broken for VC6
[wxWidgets.git] / wxPython / b
index 699d41eef31a71debba71ec10dff35ffa874415c..e748313184049b38d63ee59820fea0e13f95395e 100755 (executable)
@@ -1,4 +1,11 @@
-#!/bin/sh
+#!/bin/bash
+
+# Are we using bash on win32?  If so source that file and then exit.
+if [ "$OSTYPE" = "cygwin" ]; then
+    source b.win32
+    exit
+fi
+
 
 function getpyver {
     if [ "$1" = "15" ]; then
@@ -29,8 +36,9 @@ OTHERFLAGS=""
 PORTFLAGS=""
 
 
-if [ "$1" = "gtk1" ]; then 
-    PORTFLAGS=""
+
+if [ "$1" = "gtk1" -o "$1" = "gtk" ]; then 
+    PORTFLAGS="WXPORT=gtk UNICODE=0"
     shift
 elif [ "$1" = "gtk2" ]; then 
     PORTFLAGS="WXPORT=gtk2 UNICODE=1"