Re: Fwd: Automagic dependency on selinux

2010-09-06 Thread Johan Hattne
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/sel

Re: Fwd: Automagic dependency on selinux

2010-08-29 Thread Bruno Haible
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 th

Re: Fwd: Automagic dependency on selinux

2010-08-29 Thread Jim Meyering
Bruno Haible wrote: > Hi Jim, > > Johan Hattne wrote: >> ... trouble if e.g. findutils are compiled on a host >> where selinux is present, but run on a system without. > > For every somewhat complicated or possibly troublesome connection to an > external package, it makes sense to have a --without-

Re: Fwd: Automagic dependency on selinux

2010-08-28 Thread Bruno Haible
Hi Jim, Johan Hattne wrote: > ... trouble if e.g. findutils are compiled on a host > where selinux is present, but run on a system without. For every somewhat complicated or possibly troublesome connection to an external package, it makes sense to have a --without-... option. Paul Eggert wrote:

Re: Fwd: Automagic dependency on selinux

2010-08-24 Thread Johan Hattne
On 08/18/10 17:45, Paul Eggert wrote: On 08/17/10 19:11, Johan Hattne wrote: The attached patch is only meant to illustrate the sort of solution I had in mind in the special case of findutils-4.4.8, namely some sort --enable/disable-selinux option to the configure script. The general idea seem

Re: Fwd: Automagic dependency on selinux

2010-08-18 Thread Paul Eggert
On 08/17/10 19:11, Johan Hattne wrote: > The attached patch is only meant to illustrate the sort of solution I > had in mind in the special case of findutils-4.4.8, namely some sort > --enable/disable-selinux option to the configure script. The general idea seems sound, but it sounds like it shoul

Fwd: Automagic dependency on selinux

2010-08-17 Thread Johan Hattne
The build system for gnulib automagically detects and links against libselinux. This causes trouble if e.g. findutils are compiled on a host where selinux is present, but run on a system without. See also https://bugs.gentoo.org/show_bug.cgi?id=330139. The attached patch is only meant to illus