git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18769 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-if test "x$wx_cv_if_gnu_make" = "x"; then
+if test "x$wx_cv_path_ifs" = "x"; then
     { echo "configure: error: Please run configure from the top level directory." 1>&2; exit 1; }
 fi
 
     { echo "configure: error: Please run configure from the top level directory." 1>&2; exit 1; }
 fi
 
 
 
 dnl we need the values the main configure determined for us, so refuse
 dnl to run if we don't have them
 
 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
+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
 
     AC_MSG_ERROR([Please run configure from the top level directory.])
 fi
 
 
-if test "x$wx_cv_path_glcanvas" = "x"; then
+if test "x$wx_cv_use_gui" = "x"; then
     { echo "configure: error: Please run configure from the top level directory." 1>&2; exit 1; }
 fi
 
     { echo "configure: error: Please run configure from the top level directory." 1>&2; exit 1; }
 fi
 
 
 
 dnl we need the values the main configure determined for us, so refuse
 dnl to run if we don't have them
 
 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_path_glcanvas" = "x"; then
+if test "x$wx_cv_use_gui" = "x"; then
     AC_MSG_ERROR([Please run configure from the top level directory.])
 fi
 
     AC_MSG_ERROR([Please run configure from the top level directory.])
 fi