From: Tom Yu Date: Tue, 4 Jul 1995 06:13:27 +0000 (+0000) Subject: * configure.in: Add support for NetBSD shared libraries X-Git-Tag: krb5-1.0-beta6~1591 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cbbd9766535932ef068358647790f87a60ab1303;p=krb5.git * configure.in: Add support for NetBSD shared libraries git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6225 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ChangeLog b/src/ChangeLog index fbf0bc1f6..d80cf9153 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +Tue Jul 4 02:11:14 1995 Tom Yu + + * configure.in: Add support for NetBSD shared libraries. + Sun Jul 2 20:25:58 1995 Sam Hartman * configure.in: For paranoid GPL reasons, don't take the Gcc test diff --git a/src/configure.in b/src/configure.in index 0bf33dc50..ed822989d 100644 --- a/src/configure.in +++ b/src/configure.in @@ -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