X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27635a90c70478f22f716e57a549fbb3d52c997a..a663cce7f9ca84a82f1f7359ce1dcd898040a4c1:/utils/configure.in?ds=sidebyside diff --git a/utils/configure.in b/utils/configure.in index 73eb0ccd0e..39a4a5f333 100644 --- a/utils/configure.in +++ b/utils/configure.in @@ -3,10 +3,18 @@ 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