Add LDFLAGS setting to KRB5_LIBRARIES rule
authorPaul Park <pjpark@mit.edu>
Wed, 12 Jul 1995 18:54:21 +0000 (18:54 +0000)
committerPaul Park <pjpark@mit.edu>
Wed, 12 Jul 1995 18:54:21 +0000 (18:54 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6284 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index c1c37b3685634172855991120ec958da815166d8..4a712f1d754346a6789c9560ec654c943cb32fe5 100644 (file)
@@ -1,3 +1,10 @@
+
+Wed Jul 12 11:47:43 EDT 1995   Paul Park       (pjpark@mit.edu)
+       * aclocal.m4 - Add LDFLAGS setting to KRB5_LIBRARIES.  This allows
+               building without using the rule V5_USE_SHARED_LIBS.  Also,
+               don't pass LDFLAGS in recursion because this overrides
+               the values in individual Makefiles.
+
 Sun Jul  9 06:15:33 1995  Tom Yu  <tlyu@lothlorien.MIT.EDU>
 
        * aclocal.m4: backslash '$' characters that go into double-quoted
index 7838cca3ba11d0ddd89c1643480756c9d2953a77..57c99185976f3558986dae465248536034e31163 100644 (file)
@@ -90,7 +90,6 @@ $2::<<<
        for i in $(SUBDIRS) ; do \
                if (cd $$i ; echo>>> $1 <<<"in $(CURRENT_DIR)$$i..."; \
                        $(MAKE) CC="$(CC)" CCOPTS="$(CCOPTS)" \
-                       LDFLAGS="$(LDFLAGS)" \
                        CURRENT_DIR=$(CURRENT_DIR)$$i/ >>>$3<<<) then :; \
                else $$e; fi; \
        done>>>
@@ -777,6 +776,9 @@ dnl
 define(KRB5_LIBRARIES,[
 DEPLIBS="\[$](DEPLOCAL_LIBRARIES) $kadm_deplib $kdb5_deplib \[$](TOPLIBD)/libkrb5.a $kdb4_deplib $krb4_deplib \[$](TOPLIBD)/libcrypto.a $ss_deplib \[$](TOPLIBD)/libcom_err.a"
 LIBS="\[$](LOCAL_LIBRARIES) $kadm_lib $kdb5_lib -lkrb5 $kdb4_lib $krb4_lib -lcrypto $ss_lib -lcom_err $LIBS"
+LDFLAGS="$LDFLAGS -L\$(TOPLIBD)"
+AC_SUBST(LDFLAGS)
+AC_SUBST(LDARGS)
 AC_SUBST(DEPLIBS)])
 dnl
 dnl This rule supports the generation of the shared library object files