Backport upstream r684 (OPENPAM_DEBUG enables debugging macros but does

not turn debugging on by default) and add OPENPAM_DEBUG to CFLAGS.
This commit is contained in:
Dag-Erling Smørgrav 2013-04-14 16:49:27 +00:00
parent a9fab404d4
commit fb69d3e351
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249479
2 changed files with 1 additions and 7 deletions

View File

@ -49,11 +49,7 @@
#include "openpam_impl.h"
#ifdef OPENPAM_DEBUG
int openpam_debug = 1;
#else
int openpam_debug = 0;
#endif
#if !defined(openpam_log)

View File

@ -24,9 +24,7 @@
#
# $FreeBSD$
.ifdef PAM_DEBUG
DEBUG_FLAGS+= -DDEBUG
.endif
CFLAGS+= -DOPENPAM_DEBUG
SHLIB_MAJOR= 5
PAM_MOD_DIR= ${LIBDIR}