aboutsummaryrefslogtreecommitdiffstats
path: root/android-configure.sh
diff options
context:
space:
mode:
authorDavid Turner <digit@android.com>2010-09-09 18:04:49 +0200
committerDavid 'Digit' Turner <digit@android.com>2010-09-13 00:30:34 -0700
commit80dd1261df980abf963b7f4a73f43c1102848706 (patch)
treef300ac7f44d012857c44fcb356ae7a876c0cac04 /android-configure.sh
parentd480e7f0ee7bc26dcf62db2c7afc9a57ba4f5d63 (diff)
downloadexternal_qemu-80dd1261df980abf963b7f4a73f43c1102848706.zip
external_qemu-80dd1261df980abf963b7f4a73f43c1102848706.tar.gz
external_qemu-80dd1261df980abf963b7f4a73f43c1102848706.tar.bz2
Add <fnmatch.h> check to android-configure.h
Diffstat (limited to 'android-configure.sh')
-rwxr-xr-xandroid-configure.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/android-configure.sh b/android-configure.sh
index 8b65c22..30d6f3c 100755
--- a/android-configure.sh
+++ b/android-configure.sh
@@ -357,6 +357,8 @@ fi
#
feature_check_header HAVE_BYTESWAP_H "<byteswap.h>"
+feature_check_header HAVE_FNMATCH_H "<fnmatch.h>"
+
# Build the config.make file
#
@@ -404,6 +406,9 @@ echo "#define HOST_LONG_BITS $HOST_LONGBITS" >> $config_h
if [ "$HAVE_BYTESWAP_H" = "yes" ] ; then
echo "#define HAVE_BYTESWAP_H 1" >> $config_h
fi
+if [ "$HAVE_FNMATCH_H" = "yes" ] ; then
+ echo "#define CONFIG_FNMATCH 1" >> $config_h
+fi
echo "#define CONFIG_GDBSTUB 1" >> $config_h
echo "#define CONFIG_SLIRP 1" >> $config_h
echo "#define CONFIG_SKINS 1" >> $config_h