From: Ezra Peisach Date: Wed, 16 Oct 1996 01:46:54 +0000 (+0000) Subject: * env-setup.shin (TOPLIBD): Support for build tree shared library X-Git-Tag: krb5-1.0-freeze1~242 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e5db82c83feb7cf988019d901fd17303a7599bc3;p=krb5.git * env-setup.shin (TOPLIBD): Support for build tree shared library environment setup. [krb5-admin/80] * configure.in (RBUILD): Pass in proper top of build tree (not .. path) as this is build tree independent. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9180 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/testing/scripts/ChangeLog b/src/kadmin/testing/scripts/ChangeLog index 43b627eb6..8006bd36e 100644 --- a/src/kadmin/testing/scripts/ChangeLog +++ b/src/kadmin/testing/scripts/ChangeLog @@ -1,3 +1,10 @@ +Tue Oct 15 18:39:58 1996 Ezra Peisach + + * env-setup.shin: Support for build tree shared library + environment setup. [krb5-admin/80] + + * configure.in (RBUILD): Pass in proper top of build tree (not + .. path) as this is build tree independent. Tue Oct 15 16:22:52 1996 Barry Jaspan * env-setup.shin: set $QUALNAME to the right path diff --git a/src/kadmin/testing/scripts/configure.in b/src/kadmin/testing/scripts/configure.in index 427f1aac8..84277a42d 100644 --- a/src/kadmin/testing/scripts/configure.in +++ b/src/kadmin/testing/scripts/configure.in @@ -2,7 +2,9 @@ AC_INIT(init_db) CONFIG_RULES AC_PATH_PROG(PERL,perl) AC_PATH_PROG(EXPECT,expect) +KRB5_RUN_FLAGS +RBUILD=`pwd`/../../.. +AC_SUBST(RBUILD) dnl The following are substituted into env-setup.sh -AC_SUBST(BUILDTOP) AC_SUBST(SRCTOP) V5_AC_OUTPUT_MAKEFILE( ,env-setup.sh:env-setup.shin) diff --git a/src/kadmin/testing/scripts/env-setup.shin b/src/kadmin/testing/scripts/env-setup.shin index 83bb522e3..330e88576 100644 --- a/src/kadmin/testing/scripts/env-setup.shin +++ b/src/kadmin/testing/scripts/env-setup.shin @@ -11,11 +11,17 @@ # Usage: env-setup.sh # -TOP=@BUILDTOP@/kadmin +TOP=@RBUILD@/kadmin STOP=@SRCTOP@/kadmin export TOP export STOP +# The shared library run time setup +TOPLIBD=@RBUILD@/lib +# This converts $(TOPLIBD) to $TOPLIBD +foo=`echo "@KRB5_RUN_ENV@" | sed -e 's/(//' -e 's/)//'` +eval $foo + TESTDIR=$TOP/testing; export TESTDIR STESTDIR=$STOP/testing; export STESTDIR if [ "$K5ROOT" = "" ]; then