rename HAVE_FNMATCH_H to CONFIG_FNMATCH
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/acl.c b/acl.c
index f69db25..1a11a61 100644
--- a/acl.c
+++ b/acl.c
@@ -27,7 +27,7 @@
#include "sysemu.h"
#include "acl.h"
-#ifdef HAVE_FNMATCH_H
+#ifdef CONFIG_FNMATCH
#include <fnmatch.h>
#endif
@@ -79,7 +79,7 @@
qemu_acl_entry *entry;
TAILQ_FOREACH(entry, &acl->entries, next) {
-#ifdef HAVE_FNMATCH_H
+#ifdef CONFIG_FNMATCH
if (fnmatch(entry->match, party, 0) == 0)
return entry->deny ? 0 : 1;
#else