]> granicus.if.org Git - linux-pam/commit
build: ignore pam_rhosts if neither ruserok nor ruserok_af is available.
authorYousong Zhou <yszhou4tech@gmail.com>
Wed, 17 Jun 2015 10:19:23 +0000 (18:19 +0800)
committerTomáš Mráz <t8m@users.noreply.github.com>
Fri, 4 Jan 2019 11:21:34 +0000 (12:21 +0100)
commit1d1d3b59af50c40efcc74f9c3f37b446a921e83e
treeccbfd1a2cbc3710b11a93942c136e28c748bfd2b
parentd57ab22133654033ee1da89f128a81572d320985
build: ignore pam_rhosts if neither ruserok nor ruserok_af is available.

* configure.ac: check for ruserok and ruserok_af
* modules/Makefile.am: ignore pam_rhosts/ if it's disabled
* modules/pam_rhosts/pam_rhosts.c: include stdlib.h for malloc and free

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
configure.ac
modules/Makefile.am
modules/pam_rhosts/pam_rhosts.c