openpam exhibits odd behaviour with respect to the --enable-debug/--disable-debug configure option.
Steps to Reproduce:
emerge openpam with different USE flags.
Neither 'USE="-debug" emerge openpam' nor 'USE="debug" emerge openpam' give an openpam which emits debugging information to syslog.
Debugging information with USE="debug" but not with with USE="-debug".
Created attachment 217889 [details, diff]
Proposed fix to configure.ac to handle --enable-debug and --disable-debug
After applying attached patch, the ebuild's econf could be augmented with $(use_enable debug).