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:
parent
9ccffa515c
commit
d497bc6561
1 changed files with 5 additions and 0 deletions
5
regen
5
regen
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue