On Apr 11 09:21, Andrew Schulman via Cygwin-apps wrote:
> I'm trying to rebuild pinfo 0.6.13. That's the current version in Cygwin, so I
> know I was able to build it successfully a couple of years ago. But now when I
> try, the build fails with
>
> error: possibly undefined macro: AM_INTL_SUBDIR
>
> I'm afraid my grasp of autotools is too weak for me to know what the problem
> is
> here. At present I'm using the inherited src_complile() function from
> autotools.cygclass. In the past I used:
>
> src_compile ()
> {
> cd "$S"
> gettextize -f # needed to create tools/config.rpath
> cygautoreconf --install
> cd "$B"
> cygconf
> cygmake
> }
>
> but that doesn't fix the AM_INTL_SUBDIR problem.
Check configure.ac which version of autotools is required. There's a
good chance you need autoconf 2.69. You can probably fix that problem
in the cygport file by adding
WANT_AUTOCONF="2.5"
Corinna