Переглянути джерело

Support new versions of GNU m4

Richard Laager 15 роки тому
батько
коміт
aa3e46c52a
1 змінених файлів з 1 додано та 2 видалено
  1. 1 2
      configure.in

+ 1 - 2
configure.in

@@ -16,8 +16,7 @@ if test "x$M4" = "xnotfound"; then
   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`;
-  if test "x$ac_is_gnu_m4" = "xGNU"; then
+  if echo "$ac_m4_vers" | grep -q GNU; then
 	AC_MSG_RESULT([   found $ac_m4_vers at $M4 ])
   else
 	AC_MSG_ERROR([ GNU M4 is needed	])