Skip to content

Commit

Permalink
Avoid using grep -q in configure.in
Browse files Browse the repository at this point in the history
grep -q isn't as portable as we would like, so don't use it.
  • Loading branch information
greghudson committed Nov 15, 2012
1 parent 4f349b6 commit 2e002b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -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`}"
Expand Down

0 comments on commit 2e002b9

Please sign in to comment.