diff options
Diffstat (limited to 'src/configure.in')
-rw-r--r-- | src/configure.in | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/src/configure.in b/src/configure.in index d2b0786..e61dd62 100644 --- a/src/configure.in +++ b/src/configure.in @@ -6,25 +6,46 @@ AC_CANONICAL_HOST krb5_cv_host=$host]) AC_MSG_RESULT($krb5_cv_host) AC_ARG_ENABLE([shared], -[ --enable-shared build with shared libraries],[ +[ --enable-shared build shared libraries],[ case $krb5_cv_host in *-*-linux*) echo "Enabling shared libraries for Linux...." krb5_cv_shlibs_cflags=-fPIC krb5_cv_shlibs_ext=so 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_tail_comp= ;; *-*-solaris*) echo "Enabling shared libraries for Solaris...." krb5_cv_shlibs_cflags=-Kpic krb5_cv_shlibs_ext=so 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_tail_comp= ;; alpha-dec-osf*) echo "Enabling shared libraries for Alpha OSF...." krb5_cv_shlibs_cflags= krb5_cv_shlibs_ext=so krb5_cv_shlibs_dir= + krb5_cv_shlibs_ldflag="-call_shared" + krb5_cv_noshlibs_ldflag="-non_shared" + krb5_cv_shlibs_sym_ufo="-expect_unresolved " + krb5_cv_shlibs_dirhead="-rpath" + krb5_cv_exe_need_dirs=no + krb5_cv_shlibs_use_dirs=yes + krb5_cv_shlibs_tail_comp= if test ! -f so_locations; then cp -p /usr/shlib/so_locations . fi @@ -37,7 +58,12 @@ alpha-dec-osf*) ;; esac],[krb5_cv_shlibs_cflags= krb5_cv_shlibs_ext= -krb5_cv_shlibs_dir=]) +krb5_cv_shlibs_dir= +krb5_cv_shlibs_ldflag= +krb5_cv_noshlibs_ldflag= +krb5_cv_shlibs_sym_ufo= +krb5_cv_shlibs_dirhead= +krb5_cv_shlibs_tail_comp=]) AC_ARG_ENABLE([athena], [ --enable-athena build with MIT Project Athena configuration],,) if test -z "$KRB4_LIB"; then |