From e452f3b5bbba1f2139121e259d208dce112b1f74 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Mon, 13 Mar 2017 15:56:04 +0100 Subject: Clean configure when before invoking autoconf Autoconf doesn't remake configure if creation time on configure.in is older than the previous version. This caused problems on windows so always recreate configure when running ./otp_build autoconf --- otp_build | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'otp_build') diff --git a/otp_build b/otp_build index d0f75aff71..175c5fbcfe 100755 --- a/otp_build +++ b/otp_build @@ -310,6 +310,11 @@ do_autoconf () echo "=== cleaning $d/autom4te.cache" rm -f "$d"/autom4te.cache/* } + [ ! -f "$d/configure" ] || { + echo "=== cleaning $d/configure" + rm -f "$d"/configure + } + echo "=== running autoconf in $d" ( cd "$d" && autoconf ) || exit 1 chdr=`cat "$file" | sed -n "s|.*\(AC_CONFIG_HEADER\).*|\1|p"` -- cgit v1.2.3