[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Autoconf complaining about bug
From: |
Akim Demaille |
Subject: |
Re: Autoconf complaining about bug |
Date: |
06 Mar 2001 16:04:34 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
"Everton da Silva Marques" <address@hidden> 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
>
>
> address@hidden:~/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
>
> address@hidden:~/develop/portfwd/portfwd-0.18/portfwd-0.18rc1$ autoconf
> --version
> Autoconf version 2.13
>
> address@hidden:~/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.