X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc65fceb3c151b1afb538c763cf39eee851f1f12..a4ea083bbdf710d3234dcbd2eafb5d0e078f8348:/regen?ds=sidebyside diff --git a/regen b/regen index 76f388cb4a..42ba832e0e 100755 --- a/regen +++ b/regen @@ -3,7 +3,6 @@ # regenerates the file given as command line argument by running config.status # (the file is supposed to be generated by configure script) # -# Version: $Id$ # Author: VZ ################################################################################ @@ -12,6 +11,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