Re: [libvirt PATCH 29/31] tests: use WITH_NSS instead of NSS

2020-07-09 Thread Ján Tomko

On a Thursday in 2020, Pavel Hrdina wrote:

Signed-off-by: Pavel Hrdina 
---
m4/virt-nss.m4  | 2 +-
tests/nssmock.c | 2 +-
tests/nsstest.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)



Reviewed-by: Ján Tomko 

Jano


signature.asc
Description: PGP signature


[libvirt PATCH 29/31] tests: use WITH_NSS instead of NSS

2020-07-02 Thread Pavel Hrdina
Signed-off-by: Pavel Hrdina 
---
 m4/virt-nss.m4  | 2 +-
 tests/nssmock.c | 2 +-
 tests/nsstest.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/m4/virt-nss.m4 b/m4/virt-nss.m4
index 951a74e835b..b519c36e859 100644
--- a/m4/virt-nss.m4
+++ b/m4/virt-nss.m4
@@ -58,7 +58,7 @@ AC_DEFUN([LIBVIRT_CHECK_NSS],[
 fi
 
 if test "x$with_nss_plugin" = "xyes" ; then
-  AC_DEFINE_UNQUOTED([NSS], 1, [whether nss plugin is enabled])
+  AC_DEFINE_UNQUOTED([WITH_NSS], 1, [whether nss plugin is enabled])
 
   AC_CHECK_TYPE([struct gaih_addrtuple],
 [AC_DEFINE([HAVE_STRUCT_GAIH_ADDRTUPLE], [1],
diff --git a/tests/nssmock.c b/tests/nssmock.c
index 62e8fa372a2..b1c1aba957a 100644
--- a/tests/nssmock.c
+++ b/tests/nssmock.c
@@ -18,7 +18,7 @@
 
 #include 
 
-#ifdef NSS
+#ifdef WITH_NSS
 # include "virmock.h"
 # include 
 # include 
diff --git a/tests/nsstest.c b/tests/nsstest.c
index 514b4f7195d..135f6b6c939 100644
--- a/tests/nsstest.c
+++ b/tests/nsstest.c
@@ -20,7 +20,7 @@
 
 #include "testutils.h"
 
-#ifdef NSS
+#ifdef WITH_NSS
 
 # include "libvirt_nss.h"
 # include "virsocket.h"
-- 
2.26.2