added checks to prevent running sub configure scripts directly (they can only

be executed by the top level configure)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-01-15 22:04:32 +00:00
parent 89e6bf6d7a
commit 1fd16ce13c
6 changed files with 43 additions and 13 deletions

View 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)