diff options
author | Sam Hartman <hartmans@mit.edu> | 1995-06-23 00:59:54 +0000 |
---|---|---|
committer | Sam Hartman <hartmans@mit.edu> | 1995-06-23 00:59:54 +0000 |
commit | 6cd88aa348286b0535b95b84f54beb95abd29a92 (patch) | |
tree | d631441a2fd3127093ba06aff89f4cd7acb60d49 /src/configure.in | |
parent | d84d59a45a9203ba179a213f5d2281be4da07b00 (diff) | |
download | krb5-6cd88aa348286b0535b95b84f54beb95abd29a92.zip krb5-6cd88aa348286b0535b95b84f54beb95abd29a92.tar.gz krb5-6cd88aa348286b0535b95b84f54beb95abd29a92.tar.bz2 |
Changes to support AIX shared libraries. The interactions
between configure.in and Makefile.in change significantly for shared
libraries: the static library target is no longer specified in the
Makefile, although a rule to make the static library is specified.
Also, none of the libraries have any more unresolved symbols. As
discussed, libcom_err.a is made shared and symlinks are created in
lib.
These changes sort of work, although I suspect cleanup is
necessary. I don't think it breaks too much on other platforms.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6126 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/configure.in')
-rw-r--r-- | src/configure.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/configure.in b/src/configure.in index 5c2934f..31f5117 100644 --- a/src/configure.in +++ b/src/configure.in @@ -12,6 +12,7 @@ case $krb5_cv_host in echo "Enabling shared libraries for Linux...." krb5_cv_shlibs_cflags=-fPIC krb5_cv_shlibs_ext=so +krb5_cv_noshlibs_ext=a krb5_cv_shlibs_dir=shared krb5_cv_shlibs_ldflag="-dy" krb5_cv_noshlibs_ldflag="-dn" @@ -22,10 +23,27 @@ case $krb5_cv_host in krb5_cv_shlibs_tail_comp= krb5_cv_shlibs_enabled=yes ;; +*-*-aix*) + echo "Enabling shared libraries for AIX...." + krb5_cv_shlibs_cflags= + krb5_cv_shlibs_ext=a + krb5_cv_noshlibs_ext=do-not-make + krb5_cv_shlibs_dir= + krb5_cv_shlibs_ldflag= + krb5_cv_noshlibs_ldflag= + krb5_cv_shlibs_sym_ufo= + krb5_cv_shlibs_dirhead="-L" + krb5_cv_exe_need_dirs=yes + krb5_cv_shlibs_use_dirs=no + krb5_cv_staticlibs_enabled= + krb5_cv_shlibs_tail_comp= + krb5_cv_shlibs_enabled=yes +;; *-*-solaris*) echo "Enabling shared libraries for Solaris...." krb5_cv_shlibs_cflags=-Kpic krb5_cv_shlibs_ext=so + krb5_cv_noshlibs_ext=a krb5_cv_shlibs_dir=shared krb5_cv_shlibs_ldflag="-dy" krb5_cv_noshlibs_ldflag="-dn" @@ -34,12 +52,14 @@ case $krb5_cv_host in krb5_cv_exe_need_dirs=yes krb5_cv_shlibs_use_dirs=yes krb5_cv_shlibs_tail_comp= + krb5_cv_staticlibs_enabled=yes krb5_cv_shlibs_enabled=yes ;; alpha-dec-osf*) echo "Enabling shared libraries for Alpha OSF...." krb5_cv_shlibs_cflags= krb5_cv_shlibs_ext=so +krb5_cv_noshlibs_ext=a krb5_cv_shlibs_dir= krb5_cv_shlibs_ldflag="-call_shared" krb5_cv_noshlibs_ldflag="-non_shared" @@ -48,6 +68,7 @@ alpha-dec-osf*) krb5_cv_exe_need_dirs=no krb5_cv_shlibs_use_dirs=yes krb5_cv_shlibs_tail_comp= + krb5_cv_staticlibs_enabled=yes krb5_cv_shlibs_enabled=yes if test ! -f so_locations; then cp -p /usr/shlib/so_locations . @@ -61,12 +82,14 @@ alpha-dec-osf*) ;; esac],[krb5_cv_shlibs_cflags= krb5_cv_shlibs_ext= +krb5_cv_noshlibs_ext=a 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= +krb5_cv_staticlibs_enabled=yes krb5_cv_shlibs_enabled=]) AC_ARG_ENABLE([athena], [ --enable-athena build with MIT Project Athena configuration],,) |