summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-14 04:27:55 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-01-14 04:27:55 +0000
commite5c9a13e2670b1cf23faa4b7793b3eae4ad428a5 (patch)
treedaba83ef498734d7fe86b5d41fb319c0618333fb /configure
parentca9cc28c62a2c2877186569f4ab0cf1034502a73 (diff)
downloadqemu-e5c9a13e2670b1cf23faa4b7793b3eae4ad428a5.tar.gz
PCI AC97 emulation by malc.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3918 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index 6de2fbff7c..59fdc758ec 100755
--- a/configure
+++ b/configure
@@ -85,6 +85,7 @@ EXESUF=""
gdbstub="yes"
slirp="yes"
adlib="no"
+ac97="no"
oss="no"
dsound="no"
coreaudio="no"
@@ -280,6 +281,8 @@ for opt do
;;
--enable-adlib) adlib="yes"
;;
+ --enable-ac97) ac97="yes"
+ ;;
--disable-kqemu) kqemu="no"
;;
--enable-profiler) profiler="yes"
@@ -406,6 +409,7 @@ echo " --disable-sdl disable SDL"
echo " --enable-cocoa enable COCOA (Mac OS X only)"
echo " --enable-mingw32 enable Win32 cross compilation with mingw32"
echo " --enable-adlib enable Adlib emulation"
+echo " --enable-ac97 enable AC97 emulation"
echo " --enable-coreaudio enable Coreaudio audio driver"
echo " --enable-alsa enable ALSA audio driver"
echo " --enable-esd enable EsoundD audio driver"
@@ -719,6 +723,7 @@ if test "$sdl" != "no" ; then
fi
echo "mingw32 support $mingw32"
echo "Adlib support $adlib"
+echo "AC97 support $ac97"
echo "CoreAudio support $coreaudio"
echo "ALSA support $alsa"
echo "EsounD support $esd"
@@ -895,6 +900,10 @@ if test "$adlib" = "yes" ; then
echo "CONFIG_ADLIB=yes" >> $config_mak
echo "#define CONFIG_ADLIB 1" >> $config_h
fi
+if test "$ac97" = "yes" ; then
+ echo "CONFIG_AC97=yes" >> $config_mak
+ echo "#define CONFIG_AC97 1" >> $config_h
+fi
if test "$oss" = "yes" ; then
echo "CONFIG_OSS=yes" >> $config_mak
echo "#define CONFIG_OSS 1" >> $config_h