autoconf: remove more linux 2.4 references
[openafs.git] / src / cf / abs-install.m4
1 dnl Force $INSTALL to be an absolute path; some of the libafs build
2 dnl gets confused by a relative $INSTALL
3 AC_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 ])