X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2224580a415da12d7c453943c4ae4a1b58ecd369..7f980cffb852bd48ecd5ca8248c1926f3bf25572:/demos/configure.in?ds=inline diff --git a/demos/configure.in b/demos/configure.in index 3ea43d8814..25cbcd2568 100644 --- a/demos/configure.in +++ b/demos/configure.in @@ -3,6 +3,19 @@ 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) + AC_OUTPUT([ Makefile bombs/Makefile