From 46cb1bc679e705963b558a461b9d4e5f730c5518 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Wed, 30 Jul 2014 19:44:09 +0300 Subject: [PATCH] buildsys: autoreconf once no point to do_autoreconf for :host :init :bootstrap if it's already done for :target --- scripts/autoreconf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/autoreconf b/scripts/autoreconf index 38ab044005..d2da9f8a82 100755 --- a/scripts/autoreconf +++ b/scripts/autoreconf @@ -22,11 +22,14 @@ [ ! -f "$PKG_BUILD/configure.in" -a ! -f "$PKG_BUILD/configure.ac" ] && echo "configure.in or configure.ac not found" && exit 1 -printf "%${BUILD_INDENT}c ${boldmagenta}AUTORECONF${endcolor} $1\n" ' '>&$SILENT_OUT export BUILD_INDENT=$((${BUILD_INDENT:-1}+$BUILD_INDENT_SIZE)) touch $PKG_BUILD/NEWS $PKG_BUILD/AUTHORS $PKG_BUILD/ChangeLog mkdir -p $PKG_BUILD/m4 -do_autoreconf $PKG_BUILD +if [ ! -f $PKG_BUILD/.autoreconf-done ] ; then + printf "%${BUILD_INDENT}c ${boldmagenta}AUTORECONF${endcolor} $1\n" ' '>&$SILENT_OUT + do_autoreconf $PKG_BUILD + touch $PKG_BUILD/.autoreconf-done +fi exit 0