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

Pavel Hrdina phrdina at redhat.com
Thu Jul 2 12:25:27 UTC 2020


Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
 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 <config.h>
 
-#ifdef NSS
+#ifdef WITH_NSS
 # include "virmock.h"
 # include <sys/types.h>
 # include <dirent.h>
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




More information about the libvir-list mailing list