From: Theodore Tso Date: Mon, 2 Mar 1998 03:19:12 +0000 (+0000) Subject: Define S_TOP to contain an absolute pathname to the top of the source X-Git-Tag: krb5-1.1-beta1~786 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dae478e239192a5a7cd2d8c98982dd89fd3bafc2;p=krb5.git Define S_TOP to contain an absolute pathname to the top of the source tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10487 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/ChangeLog b/src/kadmin/ChangeLog index 506f2162f..d212a9655 100644 --- a/src/kadmin/ChangeLog +++ b/src/kadmin/ChangeLog @@ -1,7 +1,7 @@ -Sat Feb 28 19:37:23 1998 Tom Yu +Sun Mar 1 21:12:08 1998 Theodore Ts'o - * 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 diff --git a/src/kadmin/configure.in b/src/kadmin/configure.in index 597b8cdc2..55bc58588 100644 --- a/src/kadmin/configure.in +++ b/src/kadmin/configure.in @@ -24,10 +24,17 @@ if test "$have_PERL" = perl -a "$have_RUNTEST" = runtest -a "$TCL_LIBS" != ""; t 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