From: Greg Hudson Date: Thu, 15 Nov 2012 19:26:23 +0000 (-0500) Subject: Avoid using grep -q in configure.in X-Git-Tag: krb5-1.12-alpha1~476 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e002b96f5ce0a78d65b7f0c9e70c352788dea78;p=thirdparty%2Fkrb5.git Avoid using grep -q in configure.in grep -q isn't as portable as we would like, so don't use it. --- 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`}"