smartcard_nss=""
libusb=""
usb_redir=""
-<<<<<<< HEAD
opengl=""
efence="no"
yagl="no"
yagl_stats="no"
-=======
glx=""
->>>>>>> test1.5
zlib="yes"
guest_agent="yes"
want_tools="yes"
libiscsi=""
coroutine=""
seccomp=""
-<<<<<<< HEAD
gl="yes"
# for TIZEN-maru
maru="no"
shm="no"
#
-=======
glusterfs=""
virtio_blk_data_plane=""
gtk=""
gtkabi="2.0"
tpm="no"
libssh2=""
->>>>>>> test1.5
# parse CC options first
for opt do
if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
audio_possible_drivers="$audio_possible_drivers fmod"
fi
-<<<<<<< HEAD
# fix linking error on Ubuntu 13.04
libs_qga="-lrt $libs_qga"
-=======
QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers $QEMU_INCLUDES"
->>>>>>> test1.5
;;
esac
;;
--enable-vhost-net) vhost_net="yes"
;;
-<<<<<<< HEAD
--enable-efence) efence="yes"
;;
--disable-efence) efence="no"
;;
--disable-yagl-stats) yagl_stats="no"
;;
+ --enable-opengl) opengl="yes"
+ ;;
--disable-opengl) opengl="no"
-=======
+ ;;
--disable-vhost-scsi) vhost_scsi="no"
;;
--enable-vhost-scsi) vhost_scsi="yes"
;;
--disable-glx) glx="no"
->>>>>>> test1.5
;;
--enable-glx) glx="yes"
;;
;;
--disable-seccomp) seccomp="no"
;;
-<<<<<<< HEAD
# for TIZEN-maru
--enable-maru) maru="yes"
;;
--enable-shm) shm="yes"
;;
#
-=======
--disable-glusterfs) glusterfs="no"
;;
--enable-glusterfs) glusterfs="yes"
;;
--enable-libssh2) libssh2="yes"
;;
->>>>>>> test1.5
*) echo "ERROR: unknown option $opt"; show_help="yes"
;;
esac
echo " --enable-rbd enable building the rados block device (rbd)"
echo " --disable-libiscsi disable iscsi support"
echo " --enable-libiscsi enable iscsi support"
-<<<<<<< HEAD
echo " --enable-efence enable Electic Fence"
echo " --disable-efence disable Electic Fence"
echo " --enable-yagl enable YaGL device"
echo " --disable-yagl-stats disable YaGL stats"
echo " --disable-smartcard disable smartcard support"
echo " --enable-smartcard enable smartcard support"
-=======
->>>>>>> test1.5
echo " --disable-smartcard-nss disable smartcard nss support"
echo " --enable-smartcard-nss enable smartcard nss support"
echo " --disable-libusb disable libusb (for usb passthrough)"
echo "nss used $smartcard_nss"
echo "libusb $libusb"
echo "usb net redir $usb_redir"
-<<<<<<< HEAD
echo "OpenGL support $opengl"
echo "EFence support $efence"
echo "YaGL support $yagl"
echo "YaGL stats $yagl_stats"
-=======
echo "GLX support $glx"
->>>>>>> test1.5
echo "libiscsi support $libiscsi"
echo "build guest agent $guest_agent"
echo "seccomp support $seccomp"
echo "CONFIG_SPICE=y" >> $config_host_mak
fi
-<<<<<<< HEAD
if test "$efence" = "yes" ; then
echo "CONFIG_EFENCE=y" >> $config_host_mak
fi
echo "CONFIG_SMARTCARD=y" >> $config_host_mak
fi
-=======
->>>>>>> test1.5
if test "$smartcard_nss" = "yes" ; then
echo "CONFIG_SMARTCARD_NSS=y" >> $config_host_mak
echo "libcacard_libs=$libcacard_libs" >> $config_host_mak
;;
esac
-<<<<<<< HEAD
# for TIZEN-maru
if test "$maru" = "yes" ; then
echo "CONFIG_MARU=y" >> $config_host_mak
if test "$gl" = "yes" ; then
echo "CONFIG_GL_BACKEND=y" >> $config_host_mak
fi
-=======
# TPM passthrough support?
if test "$tpm" = "yes"; then
echo 'CONFIG_TPM=$(CONFIG_SOFTMMU)' >> $config_host_mak
fi
fi
->>>>>>> test1.5
# use default implementation for tracing backend-specific routines
trace_default=yes
echo "TRACE_BACKEND=$trace_backend" >> $config_host_mak
echo "$@"| LC_ALL=C tr '[a-z]' '[A-Z]'
}
-<<<<<<< HEAD
case "$cpu" in
i386|x86_64)
echo "CONFIG_QEMU_LDST_OPTIMIZATION=y" >> $config_target_mak
echo "TARGET_INT_ALIGNMENT=$target_int_alignment" >> $config_target_mak
echo "TARGET_LONG_ALIGNMENT=$target_long_alignment" >> $config_target_mak
echo "TARGET_LLONG_ALIGNMENT=$target_llong_alignment" >> $config_target_mak
-=======
->>>>>>> test1.5
echo "TARGET_ARCH=$TARGET_ARCH" >> $config_target_mak
target_arch_name="`upper $TARGET_ARCH`"
echo "TARGET_$target_arch_name=y" >> $config_target_mak
i386|x86_64)
echo "CONFIG_HAVE_GET_MEMORY_MAPPING=y" >> $config_target_mak
esac
-<<<<<<< HEAD
if test "$hax" = "yes" ; then
if test "$target_softmmu" = "yes" ; then
case "$target_arch2" in
if test "$target_arch2" = "ppc64" -a "$fdt" = "yes"; then
echo "CONFIG_PSERIES=y" >> $config_target_mak
fi
-=======
->>>>>>> test1.5
if test "$target_bigendian" = "yes" ; then
echo "TARGET_WORDS_BIGENDIAN=y" >> $config_target_mak
fi
cflags=""
ldflags=""
-<<<<<<< HEAD
if test "$tcg_interpreter" = "yes"; then
includes="-I\$(SRC_PATH)/tcg/tci $includes"
elif test "$ARCH" = "sparc64" ; then
echo "CONFIG_BUILD_YAGL=y" >> $config_target_mak
fi
-=======
->>>>>>> test1.5
for i in $ARCH $TARGET_BASE_ARCH ; do
case "$i" in
alpha)
;;
esac
-<<<<<<< HEAD
if test "$target_softmmu" = "yes" ; then
case "$TARGET_BASE_ARCH" in
arm)
esac
fi
-=======
->>>>>>> test1.5
if test "$gprof" = "yes" ; then
echo "TARGET_GPROF=yes" >> $config_target_mak
if test "$target_linux_user" = "yes" ; then