]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/configure.in
ReDOS-ified project files
[wxWidgets.git] / demos / configure.in
index 983747c7ca6f166a9e9f4a1c1d8f4453a7dbe258..3409f915560b6bc844e2aee553204d6fbd0890c4 100644 (file)
@@ -3,6 +3,12 @@ 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_if_gnu_make" = "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)