configure (73258b386489c410e4d449159a6c8420e3b7733f) configure (1f2146f7ca0f04afc62c4a170ec78bd030f3e72f)
1#!/bin/sh
2#
3# qemu configure script (c) 2003 Fabrice Bellard
4#
5
6# Unset some variables known to interfere with behavior of common tools,
7# just as autoconf does. Unlike autoconf, we assume that unset exists.
8unset CLICOLOR_FORCE GREP_OPTIONS BASH_ENV ENV MAIL MAILPATH CDPATH

--- 1669 unchanged lines hidden (view full) ---

1678config_host_mak="config-host.mak"
1679
1680echo "# Automatically generated by configure - do not modify" > $config_host_mak
1681echo >> $config_host_mak
1682
1683echo all: >> $config_host_mak
1684
1685if test "$targetos" = "windows"; then
1#!/bin/sh
2#
3# qemu configure script (c) 2003 Fabrice Bellard
4#
5
6# Unset some variables known to interfere with behavior of common tools,
7# just as autoconf does. Unlike autoconf, we assume that unset exists.
8unset CLICOLOR_FORCE GREP_OPTIONS BASH_ENV ENV MAIL MAILPATH CDPATH

--- 1669 unchanged lines hidden (view full) ---

1678config_host_mak="config-host.mak"
1679
1680echo "# Automatically generated by configure - do not modify" > $config_host_mak
1681echo >> $config_host_mak
1682
1683echo all: >> $config_host_mak
1684
1685if test "$targetos" = "windows"; then
1686 echo "CONFIG_WIN32=y" >> $config_host_mak
1687 echo "QEMU_GA_MANUFACTURER=${QEMU_GA_MANUFACTURER-QEMU}" >> $config_host_mak
1688 echo "QEMU_GA_DISTRO=${QEMU_GA_DISTRO-Linux}" >> $config_host_mak
1689 echo "QEMU_GA_VERSION=${QEMU_GA_VERSION-$(cat "$source_path"/VERSION)}" >> $config_host_mak
1686 echo "QEMU_GA_MANUFACTURER=${QEMU_GA_MANUFACTURER-QEMU}" >> $config_host_mak
1687 echo "QEMU_GA_DISTRO=${QEMU_GA_DISTRO-Linux}" >> $config_host_mak
1688 echo "QEMU_GA_VERSION=${QEMU_GA_VERSION-$(cat "$source_path"/VERSION)}" >> $config_host_mak
1690else
1691 echo "CONFIG_POSIX=y" >> $config_host_mak
1692fi
1693
1689fi
1690
1694if test "$targetos" = "linux" ; then
1695 echo "CONFIG_LINUX=y" >> $config_host_mak
1696fi
1697
1698if test "$targetos" = "darwin" ; then
1699 echo "CONFIG_DARWIN=y" >> $config_host_mak
1700fi
1701
1702echo "SRC_PATH=$source_path" >> $config_host_mak
1703echo "TARGET_DIRS=$target_list" >> $config_host_mak
1704
1691echo "SRC_PATH=$source_path" >> $config_host_mak
1692echo "TARGET_DIRS=$target_list" >> $config_host_mak
1693
1705# XXX: suppress that
1706case $targetos in
1707 gnu/kfreebsd | freebsd | dragonfly | netbsd | openbsd | darwin)
1708 echo "CONFIG_BSD=y" >> $config_host_mak
1709 ;;
1710esac
1711
1712if test -n "$gdb_bin"; then
1713 gdb_version=$($gdb_bin --version | head -n 1)
1714 if version_ge ${gdb_version##* } 9.1; then
1715 echo "HAVE_GDB_BIN=$gdb_bin" >> $config_host_mak
1716 gdb_arches=$($python "$source_path/scripts/probe-gdb-support.py" $gdb_bin)
1717 else
1718 gdb_bin=""
1719 fi

--- 267 unchanged lines hidden ---
1694if test -n "$gdb_bin"; then
1695 gdb_version=$($gdb_bin --version | head -n 1)
1696 if version_ge ${gdb_version##* } 9.1; then
1697 echo "HAVE_GDB_BIN=$gdb_bin" >> $config_host_mak
1698 gdb_arches=$($python "$source_path/scripts/probe-gdb-support.py" $gdb_bin)
1699 else
1700 gdb_bin=""
1701 fi

--- 267 unchanged lines hidden ---