From: Phillip Lord Date: Fri, 23 Mar 2018 22:01:08 +0000 (+0000) Subject: Ensure configure is running if necessary X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=491c4c36cb0f94e6805e6def62a7442a9d03b789;p=emacs.git Ensure configure is running if necessary * admin/nt/dist-build/build-zips.sh: Check for missing Makefile. --- diff --git a/admin/nt/dist-build/build-zips.sh b/admin/nt/dist-build/build-zips.sh index 01c237152a9..3d28279885a 100755 --- a/admin/nt/dist-build/build-zips.sh +++ b/admin/nt/dist-build/build-zips.sh @@ -49,8 +49,9 @@ function build_zip { export PKG_CONFIG_PATH=$PKG ## Running configure forces a rebuild of the C core which takes - ## time that is not always needed - if (($CONFIG)) + ## time that is not always needed, so do not do it unless we have + ## to. + if [ ! -f Makefile ] || (($CONFIG)) then echo [build] Configuring Emacs $ARCH ../../../git/$BRANCH/configure \