Preliminary AIX support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5732 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
malc 2008-11-18 01:42:22 +00:00
parent 14f87098c0
commit b29fe3ed48
7 changed files with 79 additions and 4 deletions

15
configure vendored
View file

@ -32,7 +32,7 @@ ar="ar"
make="make"
install="install"
strip="strip"
cpu=`uname -m`
cpu=`test $(uname -s) = AIX && uname -p || uname -m`
target_list=""
case "$cpu" in
i386|i486|i586|i686|i86pc|BePC)
@ -68,7 +68,7 @@ case "$cpu" in
mips64)
cpu="mips64"
;;
"Power Macintosh"|ppc|ppc64)
"Power Macintosh"|ppc|ppc64|powerpc)
cpu="powerpc"
;;
s390*)
@ -117,6 +117,7 @@ mixemu="no"
bluez="yes"
kvm="yes"
kerneldir=""
aix="no"
# OS specific
targetos=`uname -s`
@ -206,6 +207,10 @@ SunOS)
fi
audio_possible_drivers="oss sdl"
;;
AIX)
aix="yes"
make="gmake"
;;
*)
audio_drv_list="oss"
audio_possible_drivers="oss alsa sdl esd pa"
@ -1220,6 +1225,12 @@ if test "$darwin" = "yes" ; then
echo "CONFIG_DARWIN=yes" >> $config_mak
echo "#define CONFIG_DARWIN 1" >> $config_h
fi
if test "$aix" = "yes" ; then
echo "CONFIG_AIX=yes" >> $config_mak
echo "#define CONFIG_AIX 1" >> $config_h
fi
if test "$solaris" = "yes" ; then
echo "CONFIG_SOLARIS=yes" >> $config_mak
echo "#define HOST_SOLARIS $solarisrev" >> $config_h