Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / cf / abs-install.m4
CommitLineData
805e021f
CE
1dnl Force $INSTALL to be an absolute path; some of the libafs build
2dnl gets confused by a relative $INSTALL
3AC_DEFUN([OPENAFS_FORCE_ABS_INSTALL],[
4 if test "$INSTALL" = "${srcdir}/build-tools/install-sh -c" ||
5 test "$INSTALL" = "build-tools/install-sh -c" ; then
6
7 INSTALL=`cd "$srcdir"; pwd`/build-tools/install-sh
8 if test -f "$INSTALL" ; then :; else
9 AC_MSG_ERROR([Error translating install-sh to an absolute path: $INSTALL does not exist?])
10 fi
11 INSTALL="$INSTALL -c"
12 fi
13])