From c76070f44b8d7ba27798a098684b9e8ed3114e60 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 15 Apr 2001 21:12:29 +0000 Subject: [PATCH] Add option to preserve timestamps when installing programs, if the install program supports it. --- v7/src/configure.in | 11 ++++++++--- v7/src/microcode/configure.in | 6 +++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/v7/src/configure.in b/v7/src/configure.in index 19c226802..e808def2f 100644 --- a/v7/src/configure.in +++ b/v7/src/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -dnl Copyright (c) 2000 Massachusetts Institute of Technology +dnl Copyright (c) 2000-2001 Massachusetts Institute of Technology dnl dnl This program is free software; you can redistribute it and/or dnl modify it under the terms of the GNU General Public License as @@ -14,14 +14,19 @@ dnl General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software -dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +dnl 02111-1307, USA. -AC_REVISION([$Id: configure.in,v 1.2 2000/12/21 18:11:30 cph Exp $]) +AC_REVISION([$Id: configure.in,v 1.3 2001/04/15 21:12:22 cph Exp $]) AC_INIT(microcode/boot.c) AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET +if test "$(${INSTALL} --help 2> /dev/null | fgrep -e --preserve-timestamps)" +then + INSTALL="${INSTALL} --preserve-timestamps" +fi AUXDIR=${libdir}/mit-scheme AC_SUBST(AUXDIR) diff --git a/v7/src/microcode/configure.in b/v7/src/microcode/configure.in index 56a4aa1a0..0b7ac606e 100644 --- a/v7/src/microcode/configure.in +++ b/v7/src/microcode/configure.in @@ -17,7 +17,7 @@ dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA dnl 02111-1307, USA. -AC_REVISION([$Id: configure.in,v 11.11 2001/04/10 20:49:08 cph Exp $]) +AC_REVISION([$Id: configure.in,v 11.12 2001/04/15 21:12:29 cph Exp $]) AC_INIT(boot.c) AC_CONFIG_HEADER(config.h) @@ -62,6 +62,10 @@ AC_PROG_MAKE_SET if test "${GCC}" = "yes"; then CFLAGS="${CFLAGS} -Wall" fi +if test "$(${INSTALL} --help 2> /dev/null | fgrep -e --preserve-timestamps)" +then + INSTALL="${INSTALL} --preserve-timestamps" +fi dnl Checks for libraries. AC_CHECK_LIB(dl, dlopen) -- 2.25.1