mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
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:
parent
966a0a75cc
commit
78e76a8a42
@ -58,7 +58,7 @@ AC_DEFUN([LIBVIRT_CHECK_NSS],[
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$with_nss_plugin" = "xyes" ; then
|
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_CHECK_TYPE([struct gaih_addrtuple],
|
||||||
[AC_DEFINE([HAVE_STRUCT_GAIH_ADDRTUPLE], [1],
|
[AC_DEFINE([HAVE_STRUCT_GAIH_ADDRTUPLE], [1],
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#ifdef NSS
|
#ifdef WITH_NSS
|
||||||
# include "virmock.h"
|
# include "virmock.h"
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
# include <dirent.h>
|
# include <dirent.h>
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#include "testutils.h"
|
#include "testutils.h"
|
||||||
|
|
||||||
#ifdef NSS
|
#ifdef WITH_NSS
|
||||||
|
|
||||||
# include "libvirt_nss.h"
|
# include "libvirt_nss.h"
|
||||||
# include "virsocket.h"
|
# include "virsocket.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user