On 08/29/10 14:39, Bruno Haible wrote: > Hi Jim, > > Thanks for testing. > >> However, HAVE_SELINUX_SELINUX_H *is* defined in config.h. >> >> That is due to the use of >> gl_CHECK_NEXT_HEADERS([selinux/selinux.h]) in selinux-selinux.m4, >> which ends up invoking AC_CHECK_HEADERS_ONCE([selinux/selinux.h]), which >> performs the check long before this conditional in selinux-selinux.m4: >> >> if test "$with_selinux" != no; then > > OK, so I'm adding code to explicitly set HAVE_SELINUX_SELINUX_H to 0. > This should work better (still untested on my side). > Committed and pushed this.
I'm OK with this patch--works for me. Thanks a lot! // Best wishes; Johan