X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3502e687e29f46c747be16a58d39fe79e7b1c7bc..b45c2fe579126a8c834ac6d41d8312e4a210eb9a:/docs/gtk/makewxgtk diff --git a/docs/gtk/makewxgtk b/docs/gtk/makewxgtk index 8956a8fe05..0d6dce1915 100644 --- a/docs/gtk/makewxgtk +++ b/docs/gtk/makewxgtk @@ -1,11 +1,20 @@ +#!/bin/sh # makewxgtk -# Sets permissions (in case we extracted wxGTK from zip files) -# and makes wxGTK. -# 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-gtk --with-debug_flag --with-debug_info --without-threads -make makefiles +# Configures and makes wxGTK 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 --enable-gui --with-gtk --enable-debug_flag --enable-log --enable-debug_info --enable-debug --enable-threads --enable-sockets -with-odbc -with-libjpeg --enable-debug_cntxt" + +echo Invoking $CONFIG + +rm -f *.cache +$CONFIG + make +