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
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
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"