Add support for shared libraries under HPUX and Sinix (SysVR4 under mips)
authorTheodore Tso <tytso@mit.edu>
Sun, 25 Feb 1996 00:08:27 +0000 (00:08 +0000)
committerTheodore Tso <tytso@mit.edu>
Sun, 25 Feb 1996 00:08:27 +0000 (00:08 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7530 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/configure.in

index cdd54f838aeee69d82ff5870d584a1a0807b96a3..d282f680df4603bf5acfe36399466d6c3ae84b6b 100644 (file)
@@ -1,3 +1,8 @@
+Sat Feb 24 19:07:15 1996  Theodore Y. Ts'o  <tytso@dcl>
+
+       * configure.in: Add support for shared libraries under HPUX and
+               Sinix (SysVR4 under mips)
+
 Wed Feb 21 23:31:09 1996  Richard Basch  <basch@lehman.com>
 
        * aclocal.m4:
index 46d403ccdeda2c450ee0024ae2f7b1262773bb2a..9ac8428d76cdcd80ab90f0e0838996218b182f2f 100644 (file)
@@ -63,17 +63,18 @@ krb5_cv_shlibs_versioned_filenames=yes # version in filename of library
        echo "Enabling shared libraries for AIX...."
        krb5_cv_shlibs_cflags=
        krb5_cv_shlibs_ext=a
-       krb5_cv_shlibs_need_nover=no # need_nover *must* be no if versioned_filenames = no
+# need_nover *must* be no if versioned_filenames = no
+       krb5_cv_shlibs_need_nover=no 
        krb5_cv_shlibs_versioned_filenames=no
        krb5_cv_noshlibs_ext=do-not-make
        krb5_cv_shlibs_dir=
        if test $krb5_cv_prog_gcc = yes ; then
-     krb5_cv_shlibs_ldflag="-Xlinker -bex4:\$(BUILDTOP)/util/aix.bincmds"
-     krb5_cv_noshlibs_ldflag=
-else
-     krb5_cv_shlibs_ldflag="-bex4:\$(BUILDTOP)/util/aix.bincmds"
-       krb5_cv_noshlibs_ldflag=
-fi
+         krb5_cv_shlibs_ldflag="-Xlinker -bex4:\$(BUILDTOP)/util/aix.bincmds"
+         krb5_cv_noshlibs_ldflag=
+       else
+         krb5_cv_shlibs_ldflag="-bex4:\$(BUILDTOP)/util/aix.bincmds"
+         krb5_cv_noshlibs_ldflag=
+       fi
        krb5_cv_shlibs_sym_ufo=
        krb5_cv_shlibs_dirhead="-L"
        krb5_cv_exe_need_dirs=yes
@@ -82,7 +83,30 @@ fi
        krb5_cv_staticlibs_enabled=
        krb5_cv_shlibs_tail_comp=
        krb5_cv_shlibs_enabled=yes
-;;
+       ;;
+mips-sni-sysv4)
+       echo "Enabling shared libraries for Sinix...."
+       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="-R"
+       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
+       ;;
 *-*-solaris*)
        echo "Enabling shared libraries for Solaris...."
        if test $krb5_cv_prog_gcc = yes; then
@@ -132,7 +156,23 @@ krb5_cv_shlibs_versioned_filenames=yes
                krb5_cv_noshlibs_ldflag="-static"
        fi
        ;;
-
+*-*-hpux*)
+       echo "Enabling shared libraries for HP-UX >=9.x ...."
+       krb5_cv_shlibs_cflags=+z
+       krb5_cv_shlibs_ext=sl
+       krb5_cv_noshlibs_ext=a
+       krb5_cv_shlibs_dir=shared
+       krb5_cv_shlibs_ldflag="-Wl,-a,default"
+       krb5_cv_noshlibs_ldflag=
+       krb5_cv_shlibs_sym_ufo=
+       krb5_cv_shlibs_dirhead="-Wl,+b,"
+       krb5_cv_exe_need_dirs=yes
+       krb5_cv_shlibs_use_dirs=yes
+       krb5_cv_shlibs_use_colon_dirs=yes
+       krb5_cv_shlibs_tail_comp=
+       krb5_cv_shlibs_enabled=yes
+       krb5_cv_staticlibs_enabled=yes
+       ;;
 *) 
        echo " "
        echo "Shared libraries not supported on $krb5_cv_host"