[krbdev.mit.edu #7648] [PATCH] krb5: change message macro for configure selection
Gilles Espinasse via RT
rt-comment at krbdev.mit.edu
Tue May 28 17:47:59 EDT 2013
AC_MSG_RESULT is to print result after AC_MSG_CHECKING
AC_MSG_NOTICE is to deliver message to user.
So use AC_MSG_NOTICE for --with options
Remove overquoting too
Signed-off-by: Gilles Espinasse <g.esp at free.fr>
---
src/configure.in | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/configure.in b/src/configure.in
index 81eca47..2316497 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -132,7 +132,7 @@ CHECK_SIGNALS
AC_ARG_WITH([vague-errors],
AC_HELP_STRING([--with-vague-errors],[Do not @<:@do@:>@ send helpful errors to client]), , withval=no)
if test "$withval" = yes; then
- AC_MSG_RESULT(Supplying vague error messages to KDC clients)
+ AC_MSG_NOTICE(Supplying vague error messages to KDC clients)
AC_DEFINE(KRBCONF_VAGUE_ERRORS,1,[Define if the KDC should return only vague error codes to clients])
fi
@@ -142,7 +142,7 @@ CRYPTO_IMPL="builtin"
AC_ARG_WITH([crypto-impl],
AC_HELP_STRING([--with-crypto-impl=IMPL], [use specified crypto implementation @<:@builtin@:>@]),
[CRYPTO_IMPL=$withval
-AC_MSG_RESULT("k5crypto will use \'$withval\'")
+AC_MSG_NOTICE(k5crypto will use '$withval')
], withval=builtin)
case "$withval" in
builtin)
@@ -183,7 +183,7 @@ else
AC_ARG_WITH([prng-alg],
AC_HELP_STRING([--with-prng-alg=ALG], [use specified PRNG algorithm. Ignored for nss. @<:@fortuna@:>@]),
[PRNG_ALG=$withval
-AC_MSG_RESULT("k5crypto will use \'$withval\'")
+AC_MSG_NOTICE(k5crypto will use '$withval')
], PRNG_ALG=fortuna)
fi
AC_CONFIG_COMMANDS(PRNG_ALG, , PRNG_ALG=$PRNG_ALG)
@@ -198,7 +198,7 @@ PKINIT_CRYPTO_IMPL="$CRYPTO_IMPL"
AC_ARG_WITH([pkinit-crypto-impl],
AC_HELP_STRING([--with-pkinit-crypto-impl=IMPL], [use specified pkinit crypto implementation @<:@openssl@:>@]),
[PKINIT_CRYPTO_IMPL=$withval
-AC_MSG_RESULT("pkinit will use \'$withval\'")
+AC_MSG_NOTICE(pkinit will use '$withval')
], withval=$PKINIT_CRYPTO_IMPL)
case "$withval" in
builtin|openssl)
@@ -240,7 +240,7 @@ AC_SUBST(PKINIT_CRYPTO_IMPL_LIBS)
AC_ARG_WITH([kdc-kdb-update],
AC_HELP_STRING([--with-kdc-kdb-update],[Update the database @<:@don't update@:>@]), , withval=no)
if test "$withval" = yes; then
- AC_MSG_RESULT(Updating KDC database with each request)
+ AC_MSG_NOTICE(Updating KDC database with each request)
AC_DEFINE(KRBCONF_KDC_MODIFIES_KDB,1,[Define if KDC should update database with each request])
fi
--
1.7.10.4
More information about the krb5-bugs
mailing list