From dbf8f0cfa5ee5892cef65a0e2d762a060c2fdb4c Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Thu, 24 Dec 2009 18:39:01 +0000 Subject: [PATCH] The new cygwin version 1.7.1 caused install commands to fail. Apparently, there is a problem with the native install command. I changed it to config/install-sh. --- configure.in | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 026f14f1a..6b9770a44 100755 --- a/configure.in +++ b/configure.in @@ -1350,11 +1350,19 @@ AC_PROG_INSTALL # doesn't have this problem. So, I changed the default # install program to config/install-sh, which should work # on all platforms since its a bourne shell script +# HKM 12/24/2009 - Ran into another problem with the new cygwin 1.7.1. +# THe install (and even cp -f in some cases) program will fail +# when an existing different file is in place. This occurs sometimes +# and I can not quite nail down when. However replacing +# the install command for cygwin. Note, install no longer +# needs to have a wildcard capability within Cantera. + +case $ac_sys_system in + CYGWIN* ) + INSTALL=${INSTALL_BIN:=config/install-sh} + echo 'INSTALL program has been set to ' $INSTALL;; +esac -# problem: install-sh does not handle wildcards in filename. -# commenting this out (DGG) -# INSTALL=${INSTALL_BIN:=config/install-sh} -echo 'INSTALL program has been set to ' $INSTALL # # precompile_headers still relevant? #