"Everton da Silva Marques" <[EMAIL PROTECTED]> writes:
> Hello.
>
> When I added AC_CANONICAL_HOST to acinclude.m4, autoconf started
> to complain about some bugs, as shown at the end of this message.
>
> SYSTEM:
> Package: autoconf 2.13
> OS: Debian 2.2 (Linux 2.2.17)
> Arch: i386
>
> I'm not sure what else is needed to catch this problem, so
> please feel free to guide me.
>
> Regards,
> Everton
>
>
> everton@void:~/develop/portfwd/portfwd-0.18/portfwd-0.18rc1$ autoconf
> autoconf: Undefined macros:
> ***BUG in Autoconf--please report*** AC_FD_MSG
> ***BUG in Autoconf--please report*** AC_FD_CC
> ***BUG in Autoconf--please report*** AC_FD_MSG
>
> everton@void:~/develop/portfwd/portfwd-0.18/portfwd-0.18rc1$ autoconf --version
> Autoconf version 2.13
>
> everton@void:~/develop/portfwd/portfwd-0.18/portfwd-0.18rc1$ more acinclude.m4
> AC_CANONICAL_HOST
Your code is buggy. What you see is typical of 2.13, which defines
AC_FD_* in AC_INIT (I wonder why he did that). In other words, it is
bad to rely on acinclude and the like to *execute* a macro.
Just *define* in there, and execute *after* AC_INIT.
Hence, don't do what you do.