summaryrefslogtreecommitdiff
blob: ed1bd9f31ae043b3451089d5a3684e9f12fc3af6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -Naur pam_yubico-2.5.orig/Makefile.am pam_yubico-2.5/Makefile.am
--- pam_yubico-2.5.orig/Makefile.am	2010-09-10 17:42:19.000000000 +0900
+++ pam_yubico-2.5/Makefile.am	2010-11-07 09:56:08.790170862 +0900
@@ -37,7 +37,7 @@
 pam_yubico_la_LIBADD = @LTLIBYKCLIENT@ @LIBLDAP@
 pam_yubico_la_LDFLAGS = -module -avoid-version
 
-DEFS = -DDEBUG_PAM -DPAM_DEBUG @DEFS@
+DEFS = @DEFS@
 
 # Self tests.
 
diff -Naur pam_yubico-2.5.orig/pam_yubico.c pam_yubico-2.5/pam_yubico.c
--- pam_yubico-2.5.orig/pam_yubico.c	2010-09-10 06:38:07.000000000 +0900
+++ pam_yubico-2.5/pam_yubico.c	2010-11-07 10:01:46.348254257 +0900
@@ -61,6 +61,8 @@
     printf ("\n");							\
   } while (0)
 # endif
+#else
+#  define D(x) ;
 #endif
 
 #include <ykclient.h>