* configure.in: Add support for NetBSD shared libraries
authorTom Yu <tlyu@mit.edu>
Tue, 4 Jul 1995 06:13:27 +0000 (06:13 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 4 Jul 1995 06:13:27 +0000 (06:13 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6225 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/configure.in

index fbf0bc1f67a465e9f83820e78da958e4f2d3b1fd..d80cf915394124ea62e1449b1197757cc909ac29 100644 (file)
@@ -1,3 +1,7 @@
+Tue Jul  4 02:11:14 1995  Tom Yu  <tlyu@lothlorien.MIT.EDU>
+
+       * configure.in: Add support for NetBSD shared libraries.
+
 Sun Jul  2 20:25:58 1995  Sam Hartman  <hartmans@tertius.mit.edu>
 
        * configure.in: For paranoid GPL reasons, don't take the Gcc test
index 0bf33dc50738f72f95c83ad8560c91d9c1c6fa82..ed822989dce152eac35080534ab35cf9258d09fa 100644 (file)
@@ -21,6 +21,22 @@ AC_MSG_RESULT($krb5_cv_host)
 AC_ARG_ENABLE([shared],
 [  --enable-shared         build shared libraries],[
 case $krb5_cv_host in
+*-*-netbsd*)
+       echo "Enabling shared libraries for NetBSD...."
+       krb5_cv_shlibs_cflags=-fpic
+       krb5_cv_shlibs_ext=so.0.0
+       krb5_cv_noshlibs_ext=a
+       krb5_cv_shlibs_dir=shared
+       krb5_cv_shlibs_ldflag=
+       krb5_cv_noshlibs_ldflag="-static"
+       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_tail_comp=
+       krb5_cv_shlibs_enabled=yes
+       krb5_cv_staticlibs_enabled=yes
+       ;;
 *-*-linux*)
        echo "Enabling shared libraries for Linux...."
        krb5_cv_shlibs_cflags=-fPIC