Added basic SunOS shared library support
authorRichard Basch <probe@mit.edu>
Sat, 30 Mar 1996 00:18:05 +0000 (00:18 +0000)
committerRichard Basch <probe@mit.edu>
Sat, 30 Mar 1996 00:18:05 +0000 (00:18 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7738 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/configure.in

index fca6ba1ab8069816cb910ac29abc794275fc4fe0..a0922537df901372e14316e78f14c9d2127deabe 100644 (file)
@@ -1,3 +1,7 @@
+Fri Mar 29 12:40:59 1996  Richard Basch  <basch@lehman.com>
+
+       * configure.in: Added SunOS shared library support
+
 Tue Mar 19 22:40:59 1996  Richard Basch  <basch@lehman.com>
 
        * configure.in: do not bother with kadmin.old
index d849437ce0507c5585624b94a675bec99b838972..670a2c8d00e9ee7c3d81a16252f59c84d76b211f 100644 (file)
@@ -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=