X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7bcded47c69499a2cca7be088c77f6e23b39e37..1ec4e9c2b72a01a7ba7da569e0f8d04a81aaba10:/regen?ds=sidebyside diff --git a/regen b/regen index 0d894688cc..558c0e9bfc 100755 --- a/regen +++ b/regen @@ -12,7 +12,13 @@ if test "x$1" = "x"; then exit 1 fi -export CONFIG_FILES=$1 -export CONFIG_HEADERS= +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 ./config.status exit $?