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
5
regen
5
regen
@ -12,6 +12,11 @@ if test "x$1" = "x"; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -x ./config.status ]; then
|
||||||
|
echo "Must be run from the top level wxWidgets build directory" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
CONFIG_FILES=$*
|
CONFIG_FILES=$*
|
||||||
CONFIG_HEADERS=
|
CONFIG_HEADERS=
|
||||||
export CONFIG_FILES CONFIG_HEADERS
|
export CONFIG_FILES CONFIG_HEADERS
|
||||||
|
Loading…
Reference in New Issue
Block a user