X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27635a90c70478f22f716e57a549fbb3d52c997a..be235d0801983ec009c766891b80a388dcf3a66a:/utils/configure diff --git a/utils/configure b/utils/configure index 3baa1cb446..1c8fe9c402 100755 --- a/utils/configure +++ b/utils/configure @@ -523,8 +523,14 @@ fi +if test "x$wx_cv_use_gui" = "x"; then + { echo "configure: error: Please run configure from the top level directory." 1>&2; exit 1; } +fi + GL_TOOLKIT_DIR=$wx_cv_path_glcanvas USE_GUI=$wx_cv_use_gui +USE_RESOURCES=$wx_cv_use_resources + @@ -654,6 +660,8 @@ trap 'rm -fr `echo " emulator/src/Makefile helpview/Makefile helpview/src/Makefile + wxconfigtool/Makefile + wxconfigtool/src/Makefile " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF