Roumen Petrov wrote:
> Why not to look for header first in subdirectory ?
> As example:
> AC_CHECK_HEADERS(gssapi/gssapi.h gssapi.h)

That would still end up defining both.

Assuming we put the second check in an action-if-not-found block, it may
change the behaviour on other platforms.

I didn't want to break something else while trying to fix this.

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

openssh-unix-dev mailing list