From b29fe3ed48c72e6a30a29c7fbdf3b841c59551c5 Mon Sep 17 00:00:00 2001 From: malc Date: Tue, 18 Nov 2008 01:42:22 +0000 Subject: Preliminary AIX support git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5732 c046a42c-6fe2-441c-8c8c-71466251a162 --- configure | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index cf76e9c357..1f3d23397c 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.3-55-g7522