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
This commit is contained in:
Michael R Sweet 2007-02-08 19:14:29 +00:00
parent 3d54048d52
commit 7b4d33bbdd
2 changed files with 6 additions and 1 deletions

View File

@ -265,8 +265,13 @@ dnl Find commands...
AC_PROG_CC AC_PROG_CC
AC_PROG_CXX AC_PROG_CXX
AC_PROG_INSTALL 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) AC_PATH_PROG(NROFF,nroff)
if test "x$NROFF" = "x:"; then if test "x$NROFF" = "x:"; then
# Try groff instead of nroff...
AC_PATH_PROG(GROFF,groff) AC_PATH_PROG(GROFF,groff)
if test "x$GROFF" = "x:"; then if test "x$GROFF" = "x:"; then
NROFF="echo" NROFF="echo"

View File

@ -1,4 +1,4 @@
#! /bin/sh #!/bin/sh
# #
# install - install a program, script, or datafile # install - install a program, script, or datafile
# This comes from X11R5. # This comes from X11R5.