Changed shared libraries so that it works under AIX and sets the
authorSam Hartman <hartmans@mit.edu>
Mon, 26 Jun 1995 22:42:09 +0000 (22:42 +0000)
committerSam Hartman <hartmans@mit.edu>
Mon, 26 Jun 1995 22:42:09 +0000 (22:42 +0000)
libpath correctly.  Currently only works under Xlc, but hooks for Gcc
support are present.

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

src/lib/kdb/configure.in
src/lib/krb5/ChangeLog
src/lib/krb5/Makefile.in
src/lib/krb5/configure.in

index 4272d9a72a82a19a87185ae63b394739c5915bfc..5a27aeee479e4ea08617263d19be58b251a40486 100644 (file)
@@ -5,6 +5,7 @@ AC_PROG_ARCHIVE_ADD
 AC_PROG_RANLIB
 AC_PROG_INSTALL
 AC_HAVE_HEADERS(unistd.h)
+V5_USE_SHARED_LIB
 AC_CHECK_FUNCS(srand48 srand srandom umask)
 LinkFileDir(../libkdb5.a, libkdb5.a, ./kdb)
 AppendRule([all:: libkdb5.a])
index 7a93f1d3a6db9f7ae7d9b83e3a83871545b4bf67..40292bec2b28d895d0a82081c8a75f8bd204f9a1 100644 (file)
@@ -1,3 +1,7 @@
+Mon Jun 26 17:36:53 1995  Sam Hartman  <hartmans@tardis.MIT.EDU>
+
+       * Makefile.in (install-unix): This should be generated by configure.in, not Makefile.in.  My typo was there, not here.
+
 Sun Jun 25 08:24:46 1995  Tom Yu  (tlyu@dragons-lair)
 
        * Makefile.in: Typo: install-mac was really supposed to be
index 604025fb3edb6cd28f9c231fb1a96e8cd70c1580..49290851328a73ca56303fe6eebc8f7dd38edc5e 100644 (file)
@@ -44,9 +44,6 @@ libkrb5.$(STEXT): $(LIBDONE)
        $(RANLIB) libkrb5.$(STEXT)
        touch libkrb5.stamp
 
-install-unix:: 
-       $(INSTALL_DATA) libkrb5.a $(DESTDIR)$(KRB5_LIBDIR)/libkrb5.a
-       $(RANLIB) $(DESTDIR)$(KRB5_LIBDIR)/libkrb5.a
 
 
 
index 40eaf016748ed188cea3e8af480218c39e145f57..a17c36487b43c9d85a46c4cd502e300d8fa80de0 100644 (file)
@@ -6,7 +6,6 @@ AC_PROG_ARCHIVE_ADD
 AC_PROG_RANLIB
 AC_PROG_INSTALL
 DO_SUBDIRS
-AppendRule([all:: libkrb5.[$](STEXT)])
 V5_MAKE_SHARED_LIB(libkrb5)
 AC_ARG_ENABLE([shared],
 [  --enable-shared         build shared libraries],[
@@ -22,6 +21,7 @@ if test -n "$krb5_cv_staticlibs_enabled" ; then
        [$](INSTALL_DATA) libkrb5.[$](STEXT) [$](DESTDIR)[$](KRB5_LIBDIR)/libkrb5.[$](STEXT)
        [$](RANLIB) [$](DESTDIR)[$](KRB5_LIBDIR)/libkrb5.[$](STEXT)]) 
        AppendRule([all-unix:: ../libkrb5.[$](STEXT)])
+        AppendRule([all:: libkrb5.[$](STEXT)])
 fi
 AppendRule([install:: install-[$](WHAT)])
 AppendRule([all::      all-$(WHAT)])