From 7b4d33bbddbcc05fa7c31b2275e8f1bb2e516a75 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 8 Feb 2007 19:14:29 +0000 Subject: [PATCH] Make sure INSTALL command uses absolute path for install-sh... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- configure.in | 5 +++++ install-sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 70e9064d4..1d9d576c6 100644 --- a/configure.in +++ b/configure.in @@ -265,8 +265,13 @@ dnl Find commands... AC_PROG_CC AC_PROG_CXX AC_PROG_INSTALL +if test "$INSTALL" = "$ac_install_sh"; then + # Use full path to install-sh script... + INSTALL="`pwd`/install-sh -c" +fi AC_PATH_PROG(NROFF,nroff) if test "x$NROFF" = "x:"; then + # Try groff instead of nroff... AC_PATH_PROG(GROFF,groff) if test "x$GROFF" = "x:"; then NROFF="echo" diff --git a/install-sh b/install-sh index 89fc9b098..ab74c882e 100755 --- a/install-sh +++ b/install-sh @@ -1,4 +1,4 @@ -#! /bin/sh +#!/bin/sh # # install - install a program, script, or datafile # This comes from X11R5.