* configure.in: Add KRB5_RUN_FLAGS
authorEzra Peisach <epeisach@mit.edu>
Tue, 19 Mar 1996 03:03:57 +0000 (03:03 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 19 Mar 1996 03:03:57 +0000 (03:03 +0000)
* Makefile.in: Use the run flags.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7665 dc483132-0cff-0310-8789-dd5450dbe970

18 files changed:
src/lib/kdb/ChangeLog
src/lib/kdb/Makefile.in
src/lib/kdb/configure.in
src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/Makefile.in
src/lib/krb5/krb/configure.in
src/lib/krb5/os/ChangeLog
src/lib/krb5/os/Makefile.in
src/lib/krb5/os/configure.in
src/tests/ChangeLog
src/tests/Makefile.in
src/tests/asn.1/ChangeLog
src/tests/asn.1/Makefile.in
src/tests/asn.1/configure.in
src/tests/configure.in
src/tests/resolve/ChangeLog
src/tests/resolve/Makefile.in
src/tests/resolve/configure.in

index 7721c860680a43574a6d2b010bb720da542a8093..5aeeffc60af2d9fd58e44c5d6b5b5bc50a69b079 100644 (file)
@@ -1,3 +1,9 @@
+Mon Mar 18 21:46:39 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * configure.in: Add KRB5_RUN_FLAGS
+
+       * Makefile.in: Use the run flags.
+
 Sun Mar 17 20:55:41 1996  Ezra Peisach  <epeisach@dumpster.rose.brandeis.edu>
 
        * configure.in: Change WITH_KDB_DB to USE_KDB5_LIBRARIES and add
index a725dbe7c95afc5d30aa6b9a6c4573158141a942..7b1176d890dfec992249be788b2e9012448e8ba3 100644 (file)
@@ -1,4 +1,5 @@
 CFLAGS = $(CCOPTS) $(DEFS)
+KRB5_RUN_ENV = @KRB5_RUN_ENV@
 
 all:: $(OBJS)
 
@@ -42,7 +43,7 @@ t_kdb:        t_kdb.o $(DEPLIBS)
        $(LD) $(LDFLAGS) $(LDARGS) -o t_kdb t_kdb.o $(LIBS)
 
 check::        t_kdb
-       LD_LIBRARY_PATH=$(TOPLIBD) ; export LD_LIBRARY_PATH ; ./t_kdb
+       $(KRB5_RUN_ENV) ./t_kdb
 
 clean::
        $(RM) t_kdb t_kdb.o
index 2065cfa24241c2da1b3bb2439b5daaf9c49c61b6..ec7f93ec1aff3c65686dd4623d97871045c7c842 100644 (file)
@@ -6,6 +6,7 @@ AC_PROG_RANLIB
 AC_PROG_INSTALL
 AC_HAVE_HEADERS(unistd.h)
 AC_CHECK_FUNCS(srand48 srand srandom umask)
+KRB5_RUN_FLAGS
 V5_USE_SHARED_LIB
 USE_KDB5_LIBRARY
 KRB5_LIBRARIES
index 613607ce91affba7dd8c307635950def7a133b4b..9fb871daf8750bc124eec1cac92de471312ce623 100644 (file)
@@ -1,6 +1,12 @@
+Mon Mar 18 21:49:39 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * configure.in: Add KRB5_RUN_FLAGS
+
+       * Makefile.in: Use runtime flags.
+
 Sun Mar 17 20:32:08 1996  Ezra Peisach  <epeisach@dumpster.rose.brandeis.edu>
 
-       * configure.in: Add USE_ANAME, USE_KRB5_LIBRAR, KRB5_LIBRARIES so
+       * configure.in: Add USE_ANAME, USE_KRB5_LIBRARY, KRB5_LIBRARIES so
                that Makefile does not have to know build tree layout.
 
         * Makefile.in: Rework to be consistant with configure defines so
index 8a251b4cb632aa54c3dcd50413a872a6f8b80724..7737f2e5f24f27a59e6401ed8569245a583a8ee0 100644 (file)
@@ -1,4 +1,5 @@
 CFLAGS = $(CCOPTS) $(DEFS)
+RUN_SETUP = @KRB5_RUN_ENV@
 
 ##DOSBUILDTOP = ..\..\..
 ##DOSLIBNAME=..\krb5.lib
@@ -181,7 +182,7 @@ TEST_PROGS= t_walk_rtree t_kerb t_ser
 
 check-unix:: $(TEST_PROGS)
        KRB5_CONFIG=$(srcdir)/t_krb5.conf ; export KRB5_CONFIG ;\
-       ./t_kerb 425_conv_principal rcmd e40-po ATHENA.MIT.EDU \
+       $(RUN_SETUP) ./t_kerb 425_conv_principal rcmd e40-po ATHENA.MIT.EDU \
                 425_conv_principal rcmd mit ATHENA.MIT.EDU \
                 425_conv_principal rcmd lithium ATHENA.MIT.EDU \
                 425_conv_principal rcmd tweedledumb CYGNUS.COM \
@@ -191,7 +192,7 @@ check-unix:: $(TEST_PROGS)
                > test.out
        cmp test.out $(srcdir)/t_ref_kerb.out
        $(RM) test.out
-       ./t_ser
+       $(RUN_SETUP) ./t_ser
 
 check-mac:: $(TEST_PROGS)
 
index a0e11d15912a73dabd1fe4a79a00e441397abe64..7e3e2e9c4c2e232c68b02a0da4b333b83bb91c69 100644 (file)
@@ -6,6 +6,7 @@ AC_PROG_RANLIB
 AC_HEADER_STDARG
 V5_SHARED_LIB_OBJS
 AC_HAVE_FUNCS(strftime strptime)
+KRB5_RUN_FLAGS
 SubdirLibraryRule([$(OBJS)])
 USE_ANAME
 USE_KDB5_LIBRARY
index edbf316a4a9f4c01ba1f01f49d44d996655420b6..b8fa4c2fe9464cbc848990ae66089606964c323f 100644 (file)
@@ -1,3 +1,9 @@
+Mon Mar 18 21:49:39 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * configure.in: Add KRB5_RUN_FLAGS
+
+       * Makefile.in: Use runtime flags.
+
 Mon Mar 18 17:30:54 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * sn2princ.c (krb5_sname_to_principal): Add casting to avoid warnings.
index f45b4478cf59d8b5e030edd272a382ad829f5ada..6e23fa75bddcb6ca5df5af99d3334ce0f860555d 100644 (file)
@@ -1,4 +1,5 @@
 CFLAGS = $(CCOPTS) $(DEFS)
+KRB5_RUN_ENV = @KRB5_RUN_ENV@
 
 ##DOSBUILDTOP = ..\..\..
 ##DOSLIBNAME=..\krb5.lib
@@ -112,7 +113,7 @@ t_an_to_ln: $(T_AN_TO_LN_OBJS) $(DEPLIBS)
 
 check-unix:: $(TEST_PROGS)
        KRB5_CONFIG=$(srcdir)/td_krb5.conf ; export KRB5_CONFIG ;\
-       ./t_std_conf  -d -s NEW.DEFAULT.REALM -d \
+       $(KRB5_RUN_ENV) ./t_std_conf  -d -s NEW.DEFAULT.REALM -d \
                -k IGGY.ORG -k DEFAULT_REALM.TST \
                -D DEFAULT_REALM.TST -r bad.idea -r itar.bad.idea \
                -r really.BAD.IDEA. -r clipper.bad.idea -r KeYEsCrOW.BaD.IDea \
@@ -129,8 +130,7 @@ check-unix::
        echo '[realms]' >> ./t_an.conf
        echo 'r = {' >> ./t_an.conf
        if test -r ../../../admin/aname/kdb5_anadd ; then \
-               LD_LIBRARY_PATH=$(TOPLIBD) ; export LD_LIBRARY_PATH ; \
-               ../../../admin/aname/kdb5_anadd -a -n ./t_an p/i/i/i@r piii; \
+               $(KRB5_RUN_ENV) ../../../admin/aname/kdb5_anadd -a -n ./t_an p/i/i/i@r piii; \
                ../../../admin/aname/kdb5_anadd -a -n ./t_an p/a/b/c@r pabc; \
                echo 'auth_to_local = DB:./t_an' >> ./t_an.conf; \
        fi
@@ -140,12 +140,12 @@ check-unix::
        echo '}' >> ./t_an.conf
        if test -r ../../../admin/aname/kdb5_anadd ; then \
                KRB5_CONFIG=./t_an.conf ; export KRB5_CONFIG ; \
-               ./t_an_to_ln p/i/i/i@r p/a/b/c@r; \
+               $(KRB5_RUN_ENV) ./t_an_to_ln p/i/i/i@r p/a/b/c@r; \
        fi
        KRB5_CONFIG=./t_an.conf ; export KRB5_CONFIG ; \
-       ./t_an_to_ln rul/helpme/e@r ru/123/le@r
+       $(KRB5_RUN_ENV) ./t_an_to_ln rul/helpme/e@r ru/123/le@r
        KRB5_CONFIG=./t_an.conf ; export KRB5_CONFIG ; \
-       ./t_an_to_ln fred/r@r barney/r@r
+       $(KRB5_RUN_ENV) ./t_an_to_ln fred/r@r barney/r@r
        rm ./t_an.*
 
 clean:: 
index 7c7244315757ed3acd15971cdb9fb90d16f9a321..f3a48865f879292f5b77dbe30675e6df33d28637 100644 (file)
@@ -11,5 +11,6 @@ AC_DEFINE(AN_TO_LN_RULES)
 USE_ANAME
 V5_SHARED_LIB_OBJS
 KRB5_LIBRARIES
+KRB5_RUN_FLAGS
 SubdirLibraryRule([${OBJS}])
 V5_AC_OUTPUT_MAKEFILE
index 737a50a198f3210e3fef8728ae3d53cf80aab6e5..ff23e2c682dd3ce65769f456aab31cc2d18fcd7b 100644 (file)
@@ -1,3 +1,9 @@
+Mon Mar 18 21:49:39 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * configure.in: Add KRB5_RUN_FLAGS
+
+       * Makefile.in: Use runtime flags.
+
 Wed Feb 28 00:35:58 1996  Theodore Y. Ts'o  <tytso@dcl>
 
        * configure.in: Build the gssapi tests directory
index df6984c1a78ebfeffc54f1338ee360a5b93f8c7b..5632988d9b6a4731d960b058cd5a169cb5a140a1 100644 (file)
@@ -1,4 +1,5 @@
 CFLAGS = $(CCOPTS)
+RUN_SETUP = @KRB5_RUN_ENV@
 
 TEST_DB = ./testdb
 TEST_REALM = FOO.TEST.REALM
@@ -14,26 +15,26 @@ check-unix:: kdb_check
 
 kdb_check:
        $(RM) $(TEST_DB)*
-       LD_LIBRARY_PATH=$(TOPLIBD) ../admin/create/kdb5_create $(KADMIN_OPTS)
-       LD_LIBRARY_PATH=$(TOPLIBD) ../tests/create/kdb5_mkdums $(KTEST_OPTS) 
-       LD_LIBRARY_PATH=$(TOPLIBD) ../tests/verify/kdb5_verify $(KTEST_OPTS) 
-       LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db $(TEST_DB).dump"
-       LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db -old $(TEST_DB).odump"
-       LD_LIBRARY_PATH=$(TOPLIBD) ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f
-       LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit -r $(TEST_REALM) -R "load_db $(TEST_DB).dump $(TEST_DB)"
-       LD_LIBRARY_PATH=$(TOPLIBD) ../tests/verify/kdb5_verify $(KTEST_OPTS) 
-       LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db $(TEST_DB).dump2"
+       $(RUN_SETUP) ../admin/create/kdb5_create $(KADMIN_OPTS)
+       $(RUN_SETUP) ../tests/create/kdb5_mkdums $(KTEST_OPTS) 
+       $(RUN_SETUP) ../tests/verify/kdb5_verify $(KTEST_OPTS) 
+       $(RUN_SETUP) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db $(TEST_DB).dump"
+       $(RUN_SETUP) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db -old $(TEST_DB).odump"
+       $(RUN_SETUP) ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f
+       $(RUN_SETUP) ../admin/edit/kdb5_edit -r $(TEST_REALM) -R "load_db $(TEST_DB).dump $(TEST_DB)"
+       $(RUN_SETUP) ../tests/verify/kdb5_verify $(KTEST_OPTS) 
+       $(RUN_SETUP) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db $(TEST_DB).dump2"
        sort $(TEST_DB).dump > $(TEST_DB).sort
        sort $(TEST_DB).dump2 > $(TEST_DB).sort2
        cmp $(TEST_DB).sort $(TEST_DB).sort2
-       LD_LIBRARY_PATH=$(TOPLIBD) ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f
-       LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit -r $(TEST_REALM) -R "load_db -old $(TEST_DB).odump $(TEST_DB)"
-       LD_LIBRARY_PATH=$(TOPLIBD) ../tests/verify/kdb5_verify $(KTEST_OPTS) 
-       LD_LIBRARY_PATH=$(TOPLIBD) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db -old $(TEST_DB).odump2"
+       $(RUN_SETUP) ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f
+       $(RUN_SETUP) ../admin/edit/kdb5_edit -r $(TEST_REALM) -R "load_db -old $(TEST_DB).odump $(TEST_DB)"
+       $(RUN_SETUP) ../tests/verify/kdb5_verify $(KTEST_OPTS) 
+       $(RUN_SETUP) ../admin/edit/kdb5_edit $(KADMIN_OPTS) -R "dump_db -old $(TEST_DB).odump2"
        sort $(TEST_DB).odump > $(TEST_DB).osort
        sort $(TEST_DB).odump2 > $(TEST_DB).osort2
        cmp $(TEST_DB).osort $(TEST_DB).osort2
-       LD_LIBRARY_PATH=$(TOPLIBD) ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f
+       $(RUN_SETUP) ../admin/destroy/kdb5_destroy -d $(TEST_DB) -f
        $(RM) $(TEST_DB)*
 
 
index 38edc48664aa5d72e10363de400c7822426fa618..e47a2b2c0e0e78b99cb7d1cf7892cdf1a0d19312 100644 (file)
@@ -1,3 +1,9 @@
+Mon Mar 18 21:49:39 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * configure.in: Add KRB5_RUN_FLAGS
+
+       * Makefile.in: Use runtime flags.
+
 Sun Mar  3 13:05:57 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * krb5_decode_test.c (main): In krb5_enc_tkt_part (optionals NULL)
index e5eb0bd76ac0191fa036540ad24438b997214eb9..07d9d6630637e24bb01f9d796a289b827a62d782 100644 (file)
@@ -1,4 +1,5 @@
 CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDES)
+RUN_SETUP = @KRB5_RUN_ENV@
 
 COMERRLIB=$(TOPLIBD)/libcom_err.a
 
@@ -20,11 +21,11 @@ trval: $(srcdir)/trval.c
        $(CC) -o trval $(CFLAGS) -DSTANDALONE $(srcdir)/trval.c
 
 check:: krb5_decode_test krb5_encode_test
-       LD_LIBRARY_PATH=$(TOPLIBD) ./krb5_decode_test
+       $(RUN_SETUP) ./krb5_decode_test
        $(RM) test.out
-       LD_LIBRARY_PATH=$(TOPLIBD) ./krb5_encode_test > test.out
+       $(RUN_SETUP) ./krb5_encode_test > test.out
        cmp test.out $(srcdir)/reference_encode.out
-       LD_LIBRARY_PATH=$(TOPLIBD) ./krb5_encode_test -t > test.out
+       $(RUN_SETUP) ./krb5_encode_test -t > test.out
        cmp test.out $(srcdir)/trval_reference.out
        $(RM) test.out  
 
index b1257255d6cc10dd4d967225b03cbae48823882e..a262f01864938da62b3a882b65958d80e0577d5e 100644 (file)
@@ -1,5 +1,6 @@
 AC_INIT(krb5_encode_test.c)
 CONFIG_RULES
 AC_PROG_INSTALL
+KRB5_RUN_FLAGS
 KRB5_LIBRARIES
 V5_AC_OUTPUT_MAKEFILE
index eb21e3900b6a5c1917aff305c5c0e1d522d9bb46..258b171418ce64e52d84137f068fbfa63ef48182 100644 (file)
@@ -1,5 +1,6 @@
 AC_INIT(configure.in)
 CONFIG_RULES
+KRB5_RUN_FLAGS
 CONFIG_DIRS(resolve asn.1 create hammer verify gssapi dejagnu)
 DO_SUBDIRS
 V5_AC_OUTPUT_MAKEFILE
index 9b9269b9e03ab9cee20c0e1432a6961091c3952c..8aa9ad57960ebf518988f03ca66a8a50425f5bbf 100644 (file)
@@ -1,3 +1,9 @@
+Mon Mar 18 21:49:39 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * configure.in: Add KRB5_RUN_FLAGS
+
+       * Makefile.in: Use runtime flags.
+
 Wed Sep 13 13:57:40 1995  Theodore Y. Ts'o  <tytso@dcl>
 
        * resolve.c (main): Fix fencepost error; use argv[1] to test for a
index ac21951dcd71adbf5e9c1db6b3f6c4eae816cd14..2f378db13b174ad73ebf46a81e6c35f4c943a611 100644 (file)
@@ -1,4 +1,6 @@
 CFLAGS = $(CCOPTS) $(DEFS) $(LOCALINCLUDES)
+RUN_SETUP = @KRB5_RUN_ENV@
+
 
 OBJS=resolve.o
 SRCS=$(srcdir)/resolve.c
@@ -9,7 +11,7 @@ resolve: $(OBJS) $(DEPLIBS)
        $(LD) $(LDFLAGS) $(LDARGS) -o resolve $(OBJS) $(LIBS)
 
 check:: resolve
-       LD_LIBRARY_PATH=$(TOPLIBD) ./resolve
+       $(RUN_SETUP) ./resolve
 
 install::
 
index 094c3d7570188934b5196ebe3179bada03e54e19..d13da2d89a822c4bee3eed5d65b5791f3dcdcfa0 100644 (file)
@@ -3,5 +3,6 @@ CONFIG_RULES
 AC_HEADER_STDC
 AC_CHECK_FUNCS(strchr)
 AC_CHECK_HEADERS(sys/param.h sys/socket.h)
+KRB5_RUN_FLAGS
 KRB5_LIBRARIES
 V5_AC_OUTPUT_MAKEFILE