]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/motif/makewxmotif
Warning fixes for Cygwin
[wxWidgets.git] / docs / motif / makewxmotif
index cc86aad8130849464f4e1df1cca0e09dc94e2044..78f7864eb444508b9c3cbd57305755a55206240b 100644 (file)
@@ -1,11 +1,18 @@
+#!/bin/sh
 # makewxmotif
-# Sets permissions (in case we extracted wxMotif from zip files)
-# and makes wxMotif.
-# Call from top-level wxWindows directory.
-# Note that this uses standard (but commonly-used) configure options;
-# if you're feeling brave, you may wish to compile with threads.
-# -- Julian Smart
-chmod a+x configure config.sub config.guess setup/general/* setup/shared/*
-./configure --with-shared --with-motif --without-gtk --with-debug_flag --with-debug_info --without-threads
-make makefiles
+# Configures and makes wxMotif from either the root wxWindows directory
+# or a build directory underneath it.
+
+CONFIG=./configure
+
+if [ ! -f ./configure ]; then
+  CONFIG=../configure
+fi
+
+CONFIG="$CONFIG --disable-shared --with-motif --enable-debug --enable-threads"
+
+echo Invoking $CONFIG
+
+rm -f *.cache
+$CONFIG
 make