--- intltoolize.in~ 2011-10-08 10:16:58.000000000 +0400 +++ intltoolize.in 2012-06-04 14:16:46.295332146 +0400 @@ -155,7 +155,7 @@ files='po/Makefile.in.in' if test -z "$automake"; then - if egrep '^(AC|IT)_PROG_INTLTOOL' $configure >/dev/null 2>&1; then : + if egrep '[^[:space:]]*(AC|IT)_PROG_INTLTOOL' $configure >/dev/null 2>&1; then : else echo "ERROR: 'IT_PROG_INTLTOOL' must appear in $configure for intltool to work." exit 1