Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / cf / topdirs.m4
1 AC_DEFUN([OPENAFS_TOPDIRS],[
2 TOP_SRCDIR="${srcdir}/src"
3 dnl
4 dnl If we're using ./configure, need a more reasonable TOP_SRCDIR, since relative links don't work everywhere
5 dnl
6 case $TOP_SRCDIR in
7 /*)
8 ;;
9 *)
10 TOP_SRCDIR=`cd $TOP_SRCDIR; pwd`
11 ;;
12 esac
13
14 TOP_OBJDIR="${SRCDIR_PARENT}"
15 TOP_INCDIR="${SRCDIR_PARENT}/include"
16 TOP_LIBDIR="${SRCDIR_PARENT}/lib"
17 if test "${DEST}x" = "x"; then
18 DEST="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest"
19 fi
20 ])