From: Derrick Brashear Date: Tue, 1 Jul 2008 05:58:38 +0000 (+0000) Subject: pinstall-collateral-damage-use-install-sh-usefully-20080701 X-Git-Tag: openafs-devel-1_5_61~1004 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=7b3967db163a5c9f79cb0637883f8a6708796acc;p=packages%2Fo%2Fopenafs.git pinstall-collateral-damage-use-install-sh-usefully-20080701 LICENSE IPL10 this is gross. but ac_INSTALL wants things to begin with / and @ is not /. so we cheat and use /@abs_top_srcdir@/install-sh -c if INSTALL began with ./ --- diff --git a/src/cf/osconf.m4 b/src/cf/osconf.m4 index 249cfc1fd..b6a064cfd 100644 --- a/src/cf/osconf.m4 +++ b/src/cf/osconf.m4 @@ -1093,6 +1093,15 @@ if test "x$enable_warnings" = "xyes"; then fi fi +dnl horribly cheating, assuming double / is ok. +case $INSTALL in + ./* ) + INSTALL="/@abs_top_srcdir@/install-sh -c" + ;; + *) + ;; +esac + INSTALL_PROGRAM="${INSTALL_PROGRAM} ${NO_STRIP_BIN}" AC_SUBST(CCXPG2)