X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22c3fb2ba3c6236525e147e5b10d0bc62bc5e2e5..db4444f0cebf4e63e666a7d6d18141c127535efd:/demos/configure.in diff --git a/demos/configure.in b/demos/configure.in index 983747c7ca..25cbcd2568 100644 --- a/demos/configure.in +++ b/demos/configure.in @@ -3,6 +3,16 @@ 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 +dnl +dnl note that the only one we use here if wx_cv_if_gnu_make but we can't test +dnl for this because it may perfectly well be empty (if we're using GNU make), +dnl so use something else +if test "x$wx_cv_path_ifs" = "x"; then + AC_MSG_ERROR([Please run configure from the top level directory.]) +fi + IF_GNU_MAKE=$wx_cv_if_gnu_make AC_SUBST(IF_GNU_MAKE)