summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2008-11-17 11:34:18 +0000
committerThomas Schwinge <tschwinge@gnu.org>2008-11-17 11:34:18 +0000
commit60fe0a5a4aa183725ce6d956abf0ff316dc809a1 (patch)
tree920a33d3dad88305c728fd324ec529a09cf51ed8 /configure
parent93af2abd32bf493dac0a4e9e955faa8eef92b644 (diff)
2008-11-17 Thomas Schwinge <tschwinge@gnu.org>
* configure.in: Unconditionally use the provided `install-sh'. Make use of its `-C' option. * configure: Regenerate.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
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: