Red Hat Bugzilla – Bug 831510
Allow libpwquality to be built without PAM (patch to add --without-pam)
Last modified: 2012-06-13 11:11:16 EDT
Created attachment 591392 [details]
Currently libpwquality can't be built without PAM, thus it won't build on OpenBSD for example.
Attached is a patch that implements a --without-pam configure switch. It's been tested on OpenBSD; if someone could confirm it works fine on system with PAM and commits it, it'd be greatly appreciated.
Thanks for the patch, I planned to make the pam module build optional too. I'll test it and commit upstream.
I changed the patch to use AC_ARG_ENABLE instead of with as that is more consistent with the python bindings enablement.
Allright, it works fine here. Thanks.