$NetBSD$ --- configure.orig 2016-05-21 16:59:37.000000000 +0000 +++ configure @@ -24084,7 +24084,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5 moc" >&5 $as_echo_n "checking for Qt5 moc... " >&6; } mocversion=`$MOCQT5 -v 2>&1` - mocversiongrep=`echo $mocversion | grep "Qt 5\|moc 5"` + mocversiongrep=`echo $mocversion | grep -E "Qt 5|moc 5"` if test x"$mocversiongrep" != x"$mocversion"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; }