--- docsis-0.9.5/configure.in~ 2007-09-22 00:55:03.862858273 +0200 +++ docsis-0.9.5/configure.in 2007-09-22 00:58:30.177668639 +0200 @@ -16,7 +16,7 @@ AC_MSG_ERROR([M4 is required]) else ac_m4_vers=`$M4 --version 2>/dev/null | head -1` ; - ac_is_gnu_m4=`echo $ac_m4_vers | cut -d' ' -f1`; + ac_is_gnu_m4=`echo $ac_m4_vers | grep -q GNU && echo GNU` ; if test "x$ac_is_gnu_m4" = "xGNU"; then AC_MSG_RESULT([ found $ac_m4_vers at $M4 ]) else