-Sat Feb 28 19:37:23 1998 Tom Yu <tlyu@mit.edu>
+Sun Mar 1 21:12:08 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
- * configure.in: Fix up somewhat (SRCTOP -> SRCTOPDIR) and also get
- directory correct. (`pwd`/..)
+ * configure.in: Define S_TOP to contain an absolute pathname
+ to the top of the source tree.
Fri Feb 27 23:32:38 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
fi
AC_SUBST(DO_TEST)
dnl The following are substituted into testing/scripts/env-setup.sh
-SRCTOPDIR=`pwd`/$srcdir/..
-AC_SUBST(SRCTOPDIR)
RBUILD=`pwd`/..
AC_SUBST(RBUILD)
+case "$srcdir" in
+/*)
+ S_TOP=$srcdir/..
+ ;;
+*)
+ S_TOP=`pwd`/$srcdir/..
+ ;;
+esac
+AC_SUBST(S_TOP)
AC_PATH_PROG(PERL,perl)
AC_PATH_PROG(EXPECT,expect)
dnl