X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..c08ebc627546d8f1a3c69c989d21d587c851f9a9:/docs/motif/makewxmotif diff --git a/docs/motif/makewxmotif b/docs/motif/makewxmotif index bed60a303b..78f7864eb4 100644 --- a/docs/motif/makewxmotif +++ b/docs/motif/makewxmotif @@ -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 +# 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 -chmod a+x configure config.sub config.guess samples/configure demos/configure contrib/configure -./configure --disable-shared --with-motif --without-gtk --with-debug_flag --with-debug_info --enable-debug --without-sockets --without-odbc --without-threads --enable-newgrid +$CONFIG make