From 7b3967db163a5c9f79cb0637883f8a6708796acc Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Tue, 1 Jul 2008 05:58:38 +0000 Subject: [PATCH] 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 ./ --- src/cf/osconf.m4 | 9 +++++++++ 1 file changed, 9 insertions(+) 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) -- 2.39.5