summaryrefslogtreecommitdiff
path: root/configure.in
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.in
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.in')
-rw-r--r--configure.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index a7bc4807..e8c12616 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_REVISION([$Id: configure.in,v 1.37 2007/11/07 13:07:52 tschwinge Exp $])
+AC_REVISION([$Id: configure.in,v 1.38 2008/11/17 11:34:18 tschwinge Exp $])
AC_PREREQ(2.54) dnl Minimum Autoconf version required.
AC_INIT
AC_CONFIG_SRCDIR([hurd/hurd_types.h]) dnl File to look for in srcdir.
@@ -73,6 +73,13 @@ esac
enable_static_progs=`echo "$enable_static_progs" | sed 's/[[, ]][[, ]]*/ /g'`
AC_SUBST(enable_static_progs)
+[# 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]
AC_PROG_INSTALL
AC_PROG_AWK