From b8fec3e556b0d1b2a66c76d6ec0a9b242baa1068 Mon Sep 17 00:00:00 2001 From: David Turner Date: Thu, 9 Sep 2010 18:15:23 +0200 Subject: upstream: bswap.h + add a probe to android-configure.sh --- android-configure.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'android-configure.sh') diff --git a/android-configure.sh b/android-configure.sh index 30d6f3c..b992064 100755 --- a/android-configure.sh +++ b/android-configure.sh @@ -355,9 +355,9 @@ fi # check whether we have # -feature_check_header HAVE_BYTESWAP_H "" - -feature_check_header HAVE_FNMATCH_H "" +feature_check_header HAVE_BYTESWAP_H "" +feature_check_header HAVE_MACHINE_BSWAP_H "" +feature_check_header HAVE_FNMATCH_H "" # Build the config.make file # @@ -404,7 +404,10 @@ echo "/* This file was autogenerated by '$PROGNAME' */" > $config_h echo "#define CONFIG_QEMU_SHAREDIR \"/usr/local/share/qemu\"" >> $config_h echo "#define HOST_LONG_BITS $HOST_LONGBITS" >> $config_h if [ "$HAVE_BYTESWAP_H" = "yes" ] ; then - echo "#define HAVE_BYTESWAP_H 1" >> $config_h + echo "#define CONFIG_BYTESWAP_H 1" >> $config_h +fi +if [ "$HAVE_MACHINE_BYTESWAP_H" = "yes" ] ; then + echo "#define CONFIG_MACHINE_BSWAP_H 1" >> $config_h fi if [ "$HAVE_FNMATCH_H" = "yes" ] ; then echo "#define CONFIG_FNMATCH 1" >> $config_h -- cgit v1.1