]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/configure
added checks to prevent running sub configure scripts directly (they can only
[wxWidgets.git] / utils / configure
index 679182990981a87bde068aae9b7abba2cc4d1ffa..f3fa7cd3f72b672370b3785f829e70a6df3d9c38 100755 (executable)
@@ -523,6 +523,10 @@ fi
 
 
 
+if test "x$wx_cv_path_glcanvas" = "x"; then
+    { echo "configure: error: Please run configure from the top level directory." 1>&2; exit 1; }
+fi
+
 GL_TOOLKIT_DIR=$wx_cv_path_glcanvas
 USE_GUI=$wx_cv_use_gui
 USE_RESOURCES=$wx_cv_use_resources