X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/48fe83743aafc0c3427824b7c3051119b22ebe79..02ae000a99c2ad7930e682cb531e05db7111ee1a:/utils/configure diff --git a/utils/configure b/utils/configure index cdb105af57..a85526b819 100755 --- a/utils/configure +++ b/utils/configure @@ -1,6 +1,6 @@ #! /bin/sh -# From configure.in Id +# From configure.in Id: configure.in # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. @@ -523,7 +523,15 @@ 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 + + trap '' 1 2 15 @@ -640,13 +648,6 @@ ac_given_srcdir=$srcdir trap 'rm -fr `echo " Makefile - wxMMedia2/Makefile - wxMMedia2/lib/Makefile - wxMMedia2/sample/Makefile - glcanvas/Makefile - glcanvas/${GL_TOOLKIT_DIR}/Makefile - ogl/Makefile - ogl/src/Makefile makegen/Makefile HelpGen/Makefile HelpGen/src/Makefile @@ -655,6 +656,10 @@ trap 'rm -fr `echo " hhp2cached/Makefile dialoged/Makefile dialoged/src/Makefile + emulator/Makefile + emulator/src/Makefile + helpview/Makefile + helpview/src/Makefile " | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF