X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bdad4e7e02c5db4a596419810bb31bc27f396290..55f9f0cbc8dcf45f8d484b2f931c5c254d4404d1:/utils/configure.in diff --git a/utils/configure.in b/utils/configure.in index f9483134b5..165039beda 100644 --- a/utils/configure.in +++ b/utils/configure.in @@ -3,14 +3,21 @@ AC_REVISION($Id$)dnl AC_INIT(Makefile.in) +dnl we need the values the main configure determined for us, so refuse +dnl to run if we don't have them +if test "x$wx_cv_use_gui" = "x"; then + AC_MSG_ERROR([Please run configure from the top level directory.]) +fi + GL_TOOLKIT_DIR=$wx_cv_path_glcanvas +USE_GUI=$wx_cv_use_gui +USE_RESOURCES=$wx_cv_use_resources AC_SUBST(GL_TOOLKIT_DIR) +AC_SUBST(USE_GUI) +AC_SUBST(USE_RESOURCES) AC_OUTPUT([ Makefile - wxMMedia2/Makefile - wxMMedia2/lib/Makefile - wxMMedia2/sample/Makefile makegen/Makefile HelpGen/Makefile HelpGen/src/Makefile @@ -19,4 +26,10 @@ AC_OUTPUT([ hhp2cached/Makefile dialoged/Makefile dialoged/src/Makefile + emulator/Makefile + emulator/src/Makefile + helpview/Makefile + helpview/src/Makefile + wxconfigtool/Makefile + wxconfigtool/src/Makefile ])