Joerg Sonnenberger wrote:
> > So, I don't understand how you see a "conflict".
>
> The conflicting declarations are a result of the default namespace
> containing _NETBSD_SOURCE if no (other) standard compliance macro is
> set.
Still, I don't see how you can get a conflict with <stdlib.h> if the test
code does not include <stdlib.h>, and your report is very vague.
Can you please give a reproducible test case? This means,
- Show a configure.ac that leads to the conflict.
- Which autoconf version did you use?
- Show how you invoke configure?
- Which compiler is being used?
- On which platform is this (FreeBSD, NetBSD, OpenBSD)? and which version?
- Did it say "checking for alloca... yes" or "checking for alloca... no"?
- What error messages did you see, from which tool, at which step?
- Did you get a conflict in your program, when it included <stdlib.h>,
after configure had run?
Bruno