From 60fe0a5a4aa183725ce6d956abf0ff316dc809a1 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 17 Nov 2008 11:34:18 +0000 Subject: 2008-11-17 Thomas Schwinge * configure.in: Unconditionally use the provided `install-sh'. Make use of its `-C' option. * configure: Regenerate. --- configure | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 36e16d75..c8d91f64 100755 --- a/configure +++ b/configure @@ -1880,6 +1880,13 @@ esac enable_static_progs=`echo "$enable_static_progs" | sed 's/[, ][, ]*/ /g'` +# Don't needlessly overwrite files that whose contents haven't changed. This +# helps for avoinding unneccessary recompilation cycles when keeping +# cross-compilation toolchains up-to-date. Thus, unconditionally use the +# supplied `install-sh', as the GNU Coreutils one doesn't provide this +# functionality yet (TODO: change that). TODO: $ac_abs_top_builddir et al. are +# not yet available here, that's why we use `readlink' (but only if available). +INSTALL="$SHELL $(readlink -f "$ac_install_sh")"\ -C || unset INSTALL # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: -- cgit v1.2.3