From 2e002b96f5ce0a78d65b7f0c9e70c352788dea78 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Thu, 15 Nov 2012 14:26:23 -0500 Subject: 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 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/configure.in') diff --git a/src/configure.in b/src/configure.in index 5a1539c096..faf93a1c94 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`}" -- cgit