Red Hat Bugzilla – Bug 431300
configure options crippled
Last modified: 2008-02-04 07:31:37 EST
Description of problem:
Because of a combination of bad spec design and poor configure.ac design options
to enable or disable selinux and audit dont work properly
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Read vixie-cron.spec
2. Read configure.ac
3. Try configure --without-selinux or --without-audit
selinux and audit are always enabled
Should be able to configure with or without selinux/audit via rpm
Ok, so automake/make stuff is a gruesome mess of macros and poor documentation,
but surely it shouldn't be too difficult for people to cut and paste chunks of
config from a working spec file, and a working configure.ac/configure.in.
In this case somebody has tried (in vixie-cron.spec) to pass WITH_SELINUX etc
flags via make command-line instead of modifying the "configure" command-line.
Also the contents of configure.ac are totally wrong (--with-selinux and
--without-selinux are no-ops), and in any case none of the macros (eg
WITH_SELINUX_LIB) are used in src/Makefile.am.
This issue was solved in rawhide.