diff options
| author | Theodore Tso <tytso@mit.edu> | 1998-03-02 03:19:12 +0000 |
|---|---|---|
| committer | Theodore Tso <tytso@mit.edu> | 1998-03-02 03:19:12 +0000 |
| commit | dae478e239192a5a7cd2d8c98982dd89fd3bafc2 (patch) | |
| tree | 676ac73d9e29fb32e2ed7c573c51d24af7fa55bd /src/kadmin | |
| parent | 37086502b0133f41a44d0c75e05a43d1fd4e4d96 (diff) | |
| download | krb5-dae478e239192a5a7cd2d8c98982dd89fd3bafc2.tar.gz krb5-dae478e239192a5a7cd2d8c98982dd89fd3bafc2.tar.xz krb5-dae478e239192a5a7cd2d8c98982dd89fd3bafc2.zip | |
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
Diffstat (limited to 'src/kadmin')
| -rw-r--r-- | src/kadmin/ChangeLog | 6 | ||||
| -rw-r--r-- | src/kadmin/configure.in | 11 |
2 files changed, 12 insertions, 5 deletions
diff --git a/src/kadmin/ChangeLog b/src/kadmin/ChangeLog index 506f2162f0..d212a96558 100644 --- a/src/kadmin/ChangeLog +++ b/src/kadmin/ChangeLog @@ -1,7 +1,7 @@ -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> diff --git a/src/kadmin/configure.in b/src/kadmin/configure.in index 597b8cdc21..55bc58588c 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 |
