summaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure7
-rw-r--r--configure.in9
3 files changed, 19 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f571f572..73b52905 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-11-17 Thomas Schwinge <tschwinge@gnu.org>
+ * configure.in: Unconditionally use the provided `install-sh'. Make
+ use of its `-C' option.
+ * configure: Regenerate.
+
* install-sh: Update to the GNU Automake 1.10.1 one.
2007-11-13 Thomas Schwinge <tschwinge@gnu.org>
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:
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