From: Juan Quintela Date: Mon, 27 Jul 2009 14:13:00 +0000 (+0200) Subject: rename HAVE_FNMATCH_H to CONFIG_FNMATCH X-Git-Tag: TizenStudio_2.0_p2.3~8172 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b83c999cf90409e60a5371e6ec8f658e8d666ac2;p=sdk%2Femulator%2Fqemu.git rename HAVE_FNMATCH_H to CONFIG_FNMATCH Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- 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 #endif @@ -79,7 +79,7 @@ int qemu_acl_party_is_allowed(qemu_acl *acl, 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 diff --git a/configure b/configure index 99a5337..7a46c96 100755 --- a/configure +++ b/configure @@ -1637,7 +1637,7 @@ if test "$vnc_sasl" = "yes" ; then echo "#define CONFIG_VNC_SASL 1" >> $config_host_h fi if test "$fnmatch" = "yes" ; then - echo "#define HAVE_FNMATCH_H 1" >> $config_host_h + echo "#define CONFIG_FNMATCH 1" >> $config_host_h fi qemu_version=`head $source_path/VERSION` echo "VERSION=$qemu_version" >>$config_host_mak