do not install factory/etc/pam.d if --disable-pam
authorGustavo Sverzut Barbieri <gustavo.barbieri@intel.com>
Thu, 25 Sep 2014 21:12:03 +0000 (18:12 -0300)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 Sep 2014 22:19:04 +0000 (18:19 -0400)
Makefile.am

index bf860cd..1bdc91c 100644 (file)
@@ -2048,9 +2048,11 @@ endif
 dist_factory_etc_DATA = \
        factory/etc/nsswitch.conf
 
+if HAVE_PAM
 dist_factory_pam_DATA = \
        factory/etc/pam.d/system-auth \
        factory/etc/pam.d/other
+endif
 
 # ------------------------------------------------------------------------------
 if ENABLE_FIRSTBOOT