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:
parent
a9fab404d4
commit
fb69d3e351
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249479
@ -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)
|
||||
|
||||
|
@ -24,9 +24,7 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
.ifdef PAM_DEBUG
|
||||
DEBUG_FLAGS+= -DDEBUG
|
||||
.endif
|
||||
CFLAGS+= -DOPENPAM_DEBUG
|
||||
|
||||
SHLIB_MAJOR= 5
|
||||
PAM_MOD_DIR= ${LIBDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user