From: Ezra Peisach Date: Mon, 8 Apr 1996 03:04:26 +0000 (+0000) Subject: * configure.in: Add KRB5_RUN_FLAGS X-Git-Tag: krb5-1.0-beta6~259 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=92dc4c8c0c975b9894eb2b5d2e327edd209e317f;p=krb5.git * configure.in: Add KRB5_RUN_FLAGS * Makefile.in (site.exp): Create site.exp with runtime environment line from configure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7753 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/dejagnu/Makefile.in b/src/tests/dejagnu/Makefile.in index bcfb0ef0f..e82af2cdb 100644 --- a/src/tests/dejagnu/Makefile.in +++ b/src/tests/dejagnu/Makefile.in @@ -1,5 +1,6 @@ RUNTEST = @RUNTEST@ RUNTESTFLAGS = +KRB5_RUN_ENV= @KRB5_RUN_ENV@ all install:: @@ -8,7 +9,7 @@ check:: check-$(RUNTEST) check-:: @echo "Dejagnu is not installed on this system. No tests run." -check-runtest:: t_inetd +check-runtest:: t_inetd site.exp $(RUNTEST) --tool krb --srcdir $(srcdir) $(RUNTESTFLAGS) CFLAGS = $(CCOPTS) $(DEFS) @@ -17,7 +18,14 @@ t_inetd:: t_inetd.o $(DEPLIBS) $(LD) $(LDFLAGS) $(LDARGS) -o t_inetd t_inetd.o $(LIBS) clean:: - $(RM) t_inetd t_inetd.o + $(RM) t_inetd t_inetd.o site.exp clean-unix:: $(RM) -rf tmpdir dbg.log krb.log krb.sum + +site.exp:: Makefile + echo "set runvarlist [list $(KRB5_RUN_ENV)]" | sed \ + -e 's/;//g' -e 's:=\.:='`pwd`'/.:g' > site.exp + + + diff --git a/src/tests/dejagnu/configure.in b/src/tests/dejagnu/configure.in index 0a312b17e..b699e65e6 100644 --- a/src/tests/dejagnu/configure.in +++ b/src/tests/dejagnu/configure.in @@ -4,6 +4,7 @@ AC_PROG_INSTALL AC_CHECK_PROG(RUNTEST,runtest,runtest) AC_RETSIGTYPE CHECK_SIGNALS +KRB5_RUN_FLAGS KRB5_LIBRARIES V5_USE_SHARED_LIB V5_AC_OUTPUT_MAKEFILE