X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8870c26ecb03e87065fdb3617b8c47ca3c923a53..5e7ea8ebb259cf4a96f35e77abdd334c01327010:/docs/motif/makewxmotif diff --git a/docs/motif/makewxmotif b/docs/motif/makewxmotif index cc86aad813..729f90c709 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 -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 --without-gtk --enable-debug_flag --enable-debug_info --enable-debug --disable-sockets --disable-odbc --enable-threads --enable-newgrid" + +echo Invoking $CONFIG + +rm -f *.cache +$CONFIG make