diff options
| author | Mark Eichin <eichin@mit.edu> | 1995-04-27 19:21:01 +0000 |
|---|---|---|
| committer | Mark Eichin <eichin@mit.edu> | 1995-04-27 19:21:01 +0000 |
| commit | 907d061669d84cadbcb5df6d6554310ca6a5c0d1 (patch) | |
| tree | e130264674cd21a9f261bd5fb6c6f7a0901cc4a3 /src | |
| parent | 180aa91de97661e98020a919e679001fe0569954 (diff) | |
| download | krb5-907d061669d84cadbcb5df6d6554310ca6a5c0d1.tar.gz krb5-907d061669d84cadbcb5df6d6554310ca6a5c0d1.tar.xz krb5-907d061669d84cadbcb5df6d6554310ca6a5c0d1.zip | |
* aclocal.m4 (WITH_KRB4): make --with-krb4 the default, and have
it use the included krb4 directories. If a pathname is given, use
them instead. To disable krb4 support, use --without-krb4.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5555 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/aclocal.m4 | 34 |
2 files changed, 33 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2470ea787a..fe09a3c876 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +Thu Apr 27 15:19:34 1995 Mark Eichin <eichin@cygnus.com> + + * aclocal.m4 (WITH_KRB4): make --with-krb4 the default, and have + it use the included krb4 directories. If a pathname is given, use + them instead. To disable krb4 support, use --without-krb4. + Wed Apr 27 11:00:00 1995 Keith Vetter (keithv@fusion.com) * Makefile.in: added stuff for new directory: util/profile. This diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 32ed370e9e..9662eab575 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -322,12 +322,32 @@ dnl set $(KRB4) from --with-krb4=value -- WITH_KRB4 dnl define(WITH_KRB4,[ AC_ARG_WITH([krb4], -[ --with-krb4=KRB4DIR build with Kerberos V4 backwards compatibility], -AC_MSG_RESULT(krb4 is $withval) -KRB4=$withval, -AC_MSG_RESULT(no krb4 support; use --with-krb4=krb4dir) -KRB4=)dnl -AC_SUBST(KRB4)])dnl +[ --without-krb4 don't include Kerberos V4 backwards compatibility + --with-krb4 use V4 libraries included with V5 (default) + --with-krb4=KRB4DIR use preinstalled V4 libraries], +, +withval=yes +)dnl +if test $withval = no; then + AC_MSG_RESULT(no krb4 support) + KRB4_LIB= + KDB4_LIB= +else + ADD_DEF(-DKRB4) + ADD_DEF(-DBACKWARD_COMPAT) + if test $withval = yes; then + AC_MSG_RESULT(built in krb4 support) + KRB4_LIB='$(TOPLIBD)/libkrb4.a $(TOPLIBD)/libdes425.a' + KDB4_LIB='$(TOPLIBD)/libkdb4.a' + else + AC_MSG_RESULT(preinstalled krb4 in $withval) + KRB4_LIB='$(withval)/lib/libkrb.a $(TOPLIBD)/libdes425.a' + KDB4_LIB='$(withval)/libkdb.a' + fi +fi +AC_SUBST(KRB4_LIB) +AC_SUBST(KDB4_LIB) +])dnl dnl dnl set $(CC) from --with-cc=value dnl @@ -623,6 +643,6 @@ AC_CACHE_VAL(krb5_cv_has_ansi_volatile, krb5_cv_has_ansi_volatile=yes, krb5_cv_has_ansi_volatile=no)]) AC_MSG_RESULT($krb5_cv_has_ansi_volatile) if test $krb5_cv_has_ansi_volatile = no; then -AC_DEFINE([volatile=]) +ADD_DEF(-Dvolatile=) fi ])dnl |
