mxcl/homebrew — pull request #16917 by thatha (2013-01-06 02:51:10+00:00)
Title: Patch tesseract for automake and GNU libtoolize.

Without this patch, attempting to install "tesseract", fails due to
"autoheader: error: AC_CONFIG_HEADERS not found in configure.ac".
In recent versions of automake, AM_CONFIG_HEADER has been replaced
with AC_CONFIG_HEADERS. This patch inreplaces 'configure.ac' to fix
this.

Furthermore, the 'libtool' brew installs 'libtoolize' as
'glibtoolize'. This patch inreplaces 'autogen.sh' to fix this.