From 78e76a8a42b7d3777e1bf6d6e8e0b594439d2b33 Mon Sep 17 00:00:00 2001 From: Pavel Hrdina Date: Tue, 2 Jun 2020 17:26:54 +0200 Subject: [PATCH] tests: use WITH_NSS instead of NSS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pavel Hrdina Reviewed-by: Ján Tomko Reviewed-by: Michal Privoznik --- 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 951a74e835..b519c36e85 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 62e8fa372a..b1c1aba957 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 514b4f7195..135f6b6c93 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"