--- qemu-0.o/configure +++ qemu-0/configure @@ -393,7 +393,7 @@ if test "$mingw32" = "yes" ; then echo "CONFIG_WIN32=yes" >> $config_mak echo "#define CONFIG_WIN32 1" >> $config_h -elif test -f "/usr/include/byteswap.h" ; then +elif echo '#include ' | $cc -x c -c -o $TMPO -; then echo "#define HAVE_BYTESWAP_H 1" >> $config_h fi if test "$darwin" = "yes" ; then