summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1994-11-30 22:15:24 +0000
committerTheodore Tso <tytso@mit.edu>1994-11-30 22:15:24 +0000
commitc51e9a64663a3a9f3f63e0d108316ecbdc94cb08 (patch)
tree0107a6e7124810a308f143165c140c807a0e1966
parent4f3eaa8d194e04b9c757e0ee3bb10ec1116c3b67 (diff)
downloadkrb5-c51e9a64663a3a9f3f63e0d108316ecbdc94cb08.tar.gz
krb5-c51e9a64663a3a9f3f63e0d108316ecbdc94cb08.tar.xz
krb5-c51e9a64663a3a9f3f63e0d108316ecbdc94cb08.zip
aclocal.m4, configure.in: Add appropriate help text for the --with-*
and --enable-* options. ISODE_INCLUDES should define KRB5_USE_ISODE if necessary. acconfig.h: Add defines for KRB5_ATHENA_COMPAT and KRB5_KRB4_COMPAT. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4723 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/ChangeLog9
-rw-r--r--src/acconfig.h6
-rw-r--r--src/aclocal.m424
-rw-r--r--src/configure.in7
4 files changed, 37 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 22f61af55..ac7ce7729 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,12 @@
+Wed Nov 30 17:13:02 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * aclocal.m4, configure.in: Add appropriate help text for the
+ --with-* and --enable-* options. ISODE_INCLUDES should
+ define KRB5_USE_ISODE if necessary.
+
+ * acconfig.h: Add defines for KRB5_ATHENA_COMPAT and
+ KRB5_KRB4_COMPAT.
+
Fri Nov 18 15:38:42 1994 Mark Eichin <eichin@cygnus.com>
* aclocal.m4 (CHECK_WAIT_TYPE, CHECK_SIGNALS, CHECK_SETJMP,
diff --git a/src/acconfig.h b/src/acconfig.h
index 87bc0f15a..3b1ae392b 100644
--- a/src/acconfig.h
+++ b/src/acconfig.h
@@ -31,3 +31,9 @@
#undef KRB5_USE_INET
#undef ODBM
#undef TM_IN_SYS_TIME
+
+/* Define if MIT Project Athena default configuration should be used */
+#undef KRB5_ATHENA_COMPAT
+
+/* Define if Kerberos V4 backwards compatibility should be supported */
+#undef KRB5_KRB4_COMPAT
diff --git a/src/aclocal.m4 b/src/aclocal.m4
index 38ca53309..902be17d7 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -314,7 +314,8 @@ dnl
dnl set $(KRB5ROOT) from --with-krb5-root=value -- WITH_KRB5ROOT
dnl
define(WITH_KRB5ROOT,[
-AC_ARG_WITH([krb5-root],[set path for Kerberos V5 config files],
+AC_ARG_WITH([krb5-root],
+[ --with-krb5-root=DIR set path for Kerberos V5 config files],
AC_MSG_RESULT(krb5-root is $withval)
KRB5ROOT=$withval,
AC_MSG_RESULT(krb5-root defaults to /krb5)
@@ -324,7 +325,8 @@ dnl
dnl set $(KRB4) from --with-krb4=value -- WITH_KRB4
dnl
define(WITH_KRB4,[
-AC_ARG_WITH([krb4],[include Kerberos V4 support],
+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)
@@ -334,7 +336,8 @@ dnl
dnl set $(CC) from --with-cc=value
dnl
define(WITH_CC,[
-AC_ARG_WITH([cc],[select compiler to use],
+AC_ARG_WITH([cc],
+[ --with-cc=COMPILER select compiler to use],
AC_MSG_RESULT(CC=$withval)
CC=$withval,
if test -z "$CC" ; then CC=cc; fi
@@ -344,7 +347,8 @@ dnl
dnl set $(CCOPTS) from --with-ccopts=value
dnl
define(WITH_CCOPTS,[
-AC_ARG_WITH([ccopts],[select compiler command line options],
+AC_ARG_WITH([ccopts],
+[ --with-ccopts=CCOPTS select compiler command line options],
AC_MSG_RESULT(CCOPTS is $withval)
CCOPTS=$withval
CFLAGS="$CFLAGS $withval",
@@ -354,7 +358,8 @@ dnl
dnl set $(CPPOPTS) from --with-cppopts=value
dnl
define(WITH_CPPOPTS,[
-AC_ARG_WITH([cppopts],[select compiler preprocessor command line options],
+AC_ARG_WITH([cppopts],
+[ --with-cppopts=CPPOPTS select compiler preprocessor command line options],
AC_MSG_RESULT(CPPOPTS=$withval)
CPPOPTS=$withval
CPPFLAGS="$CPPFLAGS $withval",
@@ -482,9 +487,11 @@ dnl
dnl ISODE/pepsy includes are used -- ISODE_INCLUDE
dnl
define(ISODE_INCLUDE,[
-AC_ARG_ENABLE([isode],[build and use ISODE to generate ASN.1 stubs],
+AC_ARG_ENABLE([isode],
+[ --enable-isode build and use ISODE to generate ASN.1 stubs],
ISODELIB='[$(TOPLIBD)/libisode.a]'
-ADD_DEF([-I${SRCTOP}/isode/h -I${BUILDTOP}/isode/h]),ISODELIB=)dnl
+ADD_DEF([-DKRB5_USE_ISODE -I${SRCTOP}/isode/h -I${BUILDTOP}/isode/h]),
+ISODELIB=)dnl
AC_SUBST([ISODELIB])dnl
])dnl
dnl
@@ -529,7 +536,8 @@ dnl
dnl allow for compilation with isode (yuck!)
dnl
define(ISODE_DEFS,
-[AC_ARG_ENABLE([isode],[build and use ISODE to generate ASN.1 stubs],
+[AC_ARG_ENABLE([isode],
+[ --enable-isode build and use ISODE to generate ASN.1 stubs],
[ADD_DEF(-DKRB5_USE_ISODE)],)])dnl
dnl
dnl make this one deeper...
diff --git a/src/configure.in b/src/configure.in
index a7ffd5f53..a157f1909 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -3,7 +3,12 @@ WITH_CCOPTS
CONFIG_RULES
AC_SET_BUILDTOP
WITH_KRB5ROOT
-AC_ARG_ENABLE([isode],[build and use ISODE to generate ASN.1 stubs], isode=isode,)
+WITH_KRB4
+AC_ARG_ENABLE([isode],
+[ --enable-isode build and use ISODE to generate ASN.1 stubs],
+isode=isode,)
+AC_ARG_ENABLE([athena],
+[ --enable-athena build with MIT Project Athena configuration],,)
CONFIG_DIRS(util include $isode lib kdc admin kadmin slave clients appl tests)
MAKE_SUBDIRS("making",all)
MAKE_SUBDIRS("cleaning",clean)