# if this breaks something at your end, let me know and we can
# figure out some solution for both of us.
if [ "$SWIGDIR" = "" ]; then
- SWIGDIR=$PROJECTS\\SWIG-cvs
+ SWIGDIR=$PROJECTS\\SWIG-1.3.27
fi
-FLAGS="USE_SWIG=1 SWIG=$SWIGDIR\\swig.exe"
# Use non-default python?
case $1 in
$PYTHON -c "import sys;print '\n', sys.version, '\n'"
+FLAGS="USE_SWIG=1 SWIG=$SWIGDIR\\swig.exe"
+UNIFLAG="UNICODE=1"
+
+for p in $*; do
+ if [ "$p" = "UNICODE=0" -o "$p" = "UNICODE=1" ]; then
+ UNIFLAG=""
+ break
+ fi
+done
+
+FLAGS="$FLAGS $UNIFLAG"
+
+
+
+
+
# "c" --> clean
if [ "$1" = "c" ]; then