summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2004-03-24 01:12:15 +0000
committerKen Raeburn <raeburn@mit.edu>2004-03-24 01:12:15 +0000
commit34f9786b87401d28d05c1adeb06cebb4c24f308e (patch)
treeedd46390de075cb837f35c1ce270134d6623087c /src
parent8abed32c01ba9c98e7ace2c382dbe726371bd433 (diff)
downloadkrb5-34f9786b87401d28d05c1adeb06cebb4c24f308e.tar.gz
krb5-34f9786b87401d28d05c1adeb06cebb4c24f308e.tar.xz
krb5-34f9786b87401d28d05c1adeb06cebb4c24f308e.zip
* aclocal.m4 (KRB5_AC_MAINTAINER_MODE, KRB5_AC_ENABLE_THREADS, KRB5_AC_INET6,
WITH_HESIOD, KRB5_LIB_AUX, KRB5_AC_CHOOSE_SS, KRB5_AC_CHOOSE_DB): Express defaults more consistently with other configure output. Use AC_HELP_STRING. Shorten up some messages, drop some options that are defaults and obvious counterparts to other documented options. * configure.in: Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16211 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog10
-rw-r--r--src/aclocal.m424
-rw-r--r--src/configure.in16
3 files changed, 25 insertions, 25 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index af8910fa8..1488f7aaf 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,13 @@
+2004-03-23 Ken Raeburn <raeburn@mit.edu>
+
+ * aclocal.m4 (KRB5_AC_MAINTAINER_MODE, KRB5_AC_ENABLE_THREADS,
+ KRB5_AC_INET6, WITH_HESIOD, KRB5_LIB_AUX, KRB5_AC_CHOOSE_SS,
+ KRB5_AC_CHOOSE_DB): Express defaults more consistently with other
+ configure output. Use AC_HELP_STRING. Shorten up some messages,
+ drop some options that are defaults and obvious counterparts to
+ other documented options.
+ * configure.in: Likewise.
+
2004-03-17 Ken Raeburn <raeburn@mit.edu>
* aclocal.m4: Include acx_pthread.m4.
diff --git a/src/aclocal.m4 b/src/aclocal.m4
index 66599d179..f5a96092e 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -107,8 +107,7 @@ dnl Maintainer mode, akin to what automake provides, 'cept we don't
dnl want to use automake right now.
AC_DEFUN([KRB5_AC_MAINTAINER_MODE],
[AC_ARG_ENABLE([maintainer-mode],
-[ --enable-maintainer-mode
- enable rebuilding of source files etc],
+AC_HELP_STRING([--enable-maintainer-mode],[enable rebuilding of source files, Makefiles, etc]),
USE_MAINTAINER_MODE=$enableval,
USE_MAINTAINER_MODE=no)
if test "$USE_MAINTAINER_MODE" = yes; then
@@ -128,7 +127,7 @@ AC_SUBST(MAINT)
dnl Hack for now.
AC_DEFUN([KRB5_AC_ENABLE_THREADS],[
AC_ARG_ENABLE([thread-support],
-AC_HELP_STRING([--enable-thread-support],use PRELIMINARY EXPERIMENTAL UNFINISHED POSIX-only thread support),
+AC_HELP_STRING([--enable-thread-support],use PRELIMINARY EXPERIMENTAL UNFINISHED POSIX-only thread support @<:@disabled@:>@),
[ if test "$withval" = yes ; then
AC_MSG_NOTICE(enabling PRELIMINARY EXPERIMENTAL UNFINISHED POSIX-only thread support)
AC_DEFINE(ENABLE_THREADS,1,[Define if thread support enabled])
@@ -298,9 +297,8 @@ fi
dnl
AC_REQUIRE([KRB5_SOCKADDR_SA_LEN])dnl
AC_ARG_ENABLE([ipv6],
-[ --enable-ipv6 enable IPv6 support
- --disable-ipv6 disable IPv6 support
- (default: enable if available)], ,enableval=try)dnl
+AC_HELP_STRING([--enable-ipv6],[turn on IPv6 support])
+AC_HELP_STRING([--disable-ipv6],[turn off IPv6 support @<:@enabled if available@:>@]), ,enableval=try)dnl
case "$enableval" in
yes | try)
KRB5_AC_CHECK_INET6
@@ -986,7 +984,7 @@ dnl
dnl WITH_HESIOD
dnl
AC_DEFUN(WITH_HESIOD,
-[AC_ARG_WITH(hesiod, AC_HELP_STRING(--with-hesiod[=path], compile with hesiod support),
+[AC_ARG_WITH(hesiod, AC_HELP_STRING(--with-hesiod[=path], compile with hesiod support @<:@omitted@:>@),
hesiod=$with_hesiod, with_hesiod=no)
if test "$with_hesiod" != "no"; then
HESIOD_DEFS=-DHESIOD
@@ -1185,7 +1183,7 @@ fi
# Check whether to build profiled libraries.
AC_ARG_ENABLE([profiled],
-[ --enable-profiled build profiled libraries],
+[ --enable-profiled build profiled libraries @<:@disabled@:>@],
[if test "$enableval" = yes; then
case $PFLIBEXT in
.po-nobuild)
@@ -1420,8 +1418,8 @@ AC_SUBST(COM_ERR_VERSION)
])
AC_DEFUN([KRB5_AC_CHOOSE_SS],[
AC_ARG_WITH(system-ss,
- AC_HELP_STRING(--with-system-ss,use system -lss and mk_cmds @<:@default: use a private version@:>@))
-AC_ARG_VAR(SS_LIB,[system libraries for 'ss' package, if --with-system-ss was specified [-lss]])
+ AC_HELP_STRING(--with-system-ss,use system -lss and mk_cmds @<:@private version@:>@))
+AC_ARG_VAR(SS_LIB,[system libraries for 'ss' package [-lss]])
AC_MSG_CHECKING(which version of subsystem package to use)
if test "x$with_system_ss" = xyes ; then
SS_VERSION=sys
@@ -1454,9 +1452,9 @@ AC_SUBST(SS_VERSION)
dnl
AC_DEFUN([KRB5_AC_CHOOSE_DB],[
AC_ARG_WITH(system-db,
- AC_HELP_STRING(--with-system-db,use system Berkeley db library @<:@default: use a private version@:>@))
-AC_ARG_VAR(DB_HEADER,[header file to include for Berkeley db package, if --with-system-db was specified [db.h]])
-AC_ARG_VAR(DB_LIB,[system library for Berkeley db package, if --with-system-db was specified [-ldb]])
+ AC_HELP_STRING(--with-system-db,use system Berkeley db @<:@private version@:>@))
+AC_ARG_VAR(DB_HEADER,[header file for system Berkeley db package [db.h]])
+AC_ARG_VAR(DB_LIB,[library for system Berkeley db package [-ldb]])
if test "x$with_system_db" = xyes ; then
DB_VERSION=sys
# TODO: Do we have specific routines we should check for?
diff --git a/src/configure.in b/src/configure.in
index bb5e52de7..3448785d2 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -76,10 +76,7 @@ dnl
dnl --with-vague-errors disables useful error messages.
dnl
AC_ARG_WITH([vague-errors],
-AC_HELP_STRING([--with-vague-errors],[Do not supply helpful error messages to clients])
-AC_HELP_STRING([--without-vague-errors],[Supply helpful error messages to clients (default)]),
-,
-withval=no)dnl
+AC_HELP_STRING([--with-vague-errors],[Do not @<:@do@:>@ send helpful errors to client]), , withval=no)dnl
if test "$withval" = yes; then
AC_MSG_RESULT(Supplying vague error messages to KDC clients)
AC_DEFINE(KRBCONF_VAGUE_ERRORS)
@@ -89,10 +86,7 @@ dnl --with-kdc-kdb-update makes the KDC update the database with last request
dnl information and failure information.
dnl
AC_ARG_WITH([kdc-kdb-update],
-AC_HELP_STRING([--with-kdc-kdb-update],[Update the database])
-AC_HELP_STRING([--without-kdc-kdb-update],[Do not update the database (default)]),
-,
-withval=no)dnl
+AC_HELP_STRING([--with-kdc-kdb-update],[Update the database @<:@don't update@:>@]), , withval=no)dnl
if test "$withval" = yes; then
AC_MSG_RESULT(Updating KDC database with each request)
AC_DEFINE(KRBCONF_KDC_MODIFIES_KDB)
@@ -111,16 +105,14 @@ dnl preauth methods are weak enough that we *really* want to have this
dnl checking turned on.
dnl
AC_ARG_ENABLE([kdc-replay-cache],
-AC_HELP_STRING([--enable-kdc-replay-cache],[check for replayed/retransmitted KDC requests (recommended for replay attack detection when hardware preauthentication is in use)])
-AC_HELP_STRING([--disable-kdc-replay-cache],[omit replay detection]), , enableval=yes)dnl
+AC_HELP_STRING([--enable-kdc-replay-cache],[check for replayed/retransmitted KDC requests (recommended when hardware preauthentication is in use) @<:@disabled@:>@]), , enableval=yes)dnl
if test "$enableval" = yes ; then
AC_DEFINE(USE_RCACHE)
else
AC_DEFINE(NOCACHE)
fi
AC_ARG_ENABLE([fakeka],
-AC_HELP_STRING([--enable-fakeka],[Enable the build of the Fake KA server (emulates an AFS kaserver)])
-AC_HELP_STRING([--disable-fakeka],[Do not build the fakeka server (default)]), , enableval=no)dnl
+AC_HELP_STRING([--enable-fakeka],[build the Fake KA server (emulates an AFS kaserver) @<:@default: don't build@:>@]), , enableval=no)dnl
if test "$enableval" = yes; then
FAKEKA=fakeka
else