From: Sam Hartman Date: Mon, 26 Jun 1995 22:42:09 +0000 (+0000) Subject: Changed shared libraries so that it works under AIX and sets the X-Git-Tag: krb5-1.0-beta6~1649 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8bfdadf143e33e6b8e69eeb760680520fef37022;p=krb5.git Changed shared libraries so that it works under AIX and sets the 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 --- diff --git a/src/lib/kdb/configure.in b/src/lib/kdb/configure.in index 4272d9a72..5a27aeee4 100644 --- a/src/lib/kdb/configure.in +++ b/src/lib/kdb/configure.in @@ -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]) diff --git a/src/lib/krb5/ChangeLog b/src/lib/krb5/ChangeLog index 7a93f1d3a..40292bec2 100644 --- a/src/lib/krb5/ChangeLog +++ b/src/lib/krb5/ChangeLog @@ -1,3 +1,7 @@ +Mon Jun 26 17:36:53 1995 Sam Hartman + + * 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 diff --git a/src/lib/krb5/Makefile.in b/src/lib/krb5/Makefile.in index 604025fb3..492908513 100644 --- a/src/lib/krb5/Makefile.in +++ b/src/lib/krb5/Makefile.in @@ -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 diff --git a/src/lib/krb5/configure.in b/src/lib/krb5/configure.in index 40eaf0167..a17c36487 100644 --- a/src/lib/krb5/configure.in +++ b/src/lib/krb5/configure.in @@ -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)])