tests: use WITH_NSS instead of NSS

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Pavel Hrdina 2020-06-02 17:26:54 +02:00
parent 966a0a75cc
commit 78e76a8a42
3 changed files with 3 additions and 3 deletions

View File

@ -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],

View File

@ -18,7 +18,7 @@
#include <config.h>
#ifdef NSS
#ifdef WITH_NSS
# include "virmock.h"
# include <sys/types.h>
# include <dirent.h>

View File

@ -20,7 +20,7 @@
#include "testutils.h"
#ifdef NSS
#ifdef WITH_NSS
# include "libvirt_nss.h"
# include "virsocket.h"