From d4874bd9a5a2c2be0f35b1b56c0051041b7ea950 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Sat, 30 Mar 1996 00:18:05 +0000 Subject: [PATCH] Added basic SunOS shared library support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7738 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 4 ++++ src/configure.in | 26 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index fca6ba1ab..a0922537d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +Fri Mar 29 12:40:59 1996 Richard Basch + + * configure.in: Added SunOS shared library support + Tue Mar 19 22:40:59 1996 Richard Basch * configure.in: do not bother with kadmin.old diff --git a/src/configure.in b/src/configure.in index d849437ce..670a2c8d0 100644 --- a/src/configure.in +++ b/src/configure.in @@ -146,6 +146,32 @@ mips-sni-sysv4) krb5_cv_shlibs_run_libpath=no krb5_cv_shlibs_run_rldroot=no ;; +*-*-sunos*) + echo "Enabling shared libraries for SunOS...." + if test $krb5_cv_prog_gcc = yes; then + krb5_cv_shlibs_cflags=-fpic + else + krb5_cv_shlibs_cflags=-Kpic + fi + krb5_cv_shlibs_ext=so + krb5_cv_noshlibs_ext=a + krb5_cv_shlibs_versioned_filenames=yes + krb5_cv_shlibs_need_nover=yes + krb5_cv_shlibs_dir=shared + krb5_cv_shlibs_ldflag="-dy" + krb5_cv_noshlibs_ldflag="-dn" + krb5_cv_shlibs_sym_ufo="-u " + krb5_cv_shlibs_dirhead="-L" + krb5_cv_exe_need_dirs=yes + krb5_cv_shlibs_use_dirs=yes + krb5_cv_shlibs_use_colon_dirs=no + krb5_cv_shlibs_tail_comp= + krb5_cv_staticlibs_enabled=yes + krb5_cv_shlibs_enabled=yes + krb5_cv_shlibs_run_ldpath=default + krb5_cv_shlibs_run_libpath=no + krb5_cv_shlibs_run_rldroot=no + ;; alpha-dec-osf*) echo "Enabling shared libraries for Alpha OSF...." krb5_cv_shlibs_cflags= -- 2.26.2