[27254] in CVS-changelog-for-Kerberos-V5
krb5 commit: Avoid using grep -q in configure.in
daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Nov 15 14:29:35 2012
Date: Thu, 15 Nov 2012 14:27:57 -0500
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201211151927.qAFJRvVM006152@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
https://github.com/krb5/krb5/commit/2e002b96f5ce0a78d65b7f0c9e70c352788dea78
commit 2e002b96f5ce0a78d65b7f0c9e70c352788dea78
Author: Greg Hudson <ghudson@mit.edu>
Date: Thu Nov 15 14:26:23 2012 -0500
Avoid using grep -q in configure.in
grep -q isn't as portable as we would like, so don't use it.
src/configure.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/configure.in b/src/configure.in
index 5a1539c..faf93a1 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1265,7 +1265,7 @@ if test "x$with_krb5_config" != xno; then
if test "x$with_krb5_config" = xyes; then
with_krb5_config=krb5-config
fi
- if $with_krb5_config --help 2>&1 | grep -q defccname; then
+ if $with_krb5_config --help 2>&1 | grep defccname >/dev/null; then
AC_MSG_NOTICE([Using $with_krb5_config for build defaults])
: "${DEFCCNAME=`$with_krb5_config --defccname`}"
: "${DEFKTNAME=`$with_krb5_config --defktname`}"
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5