give an error message when ran from a wrong location instead of just saying that config.status is not found

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-03-31 15:00:42 +00:00
parent 9ccffa515c
commit d497bc6561

5
regen
View File

@ -12,6 +12,11 @@ if test "x$1" = "x"; then
exit 1
fi
if [ ! -x ./config.status ]; then
echo "Must be run from the top level wxWidgets build directory" >&2
exit 1
fi
CONFIG_FILES=$*
CONFIG_HEADERS=
export CONFIG_FILES CONFIG_HEADERS