summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-11-09 23:09:44 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-11-09 23:09:44 +0000
commitfb065187e4ee9e0d1709b344ec01bb426ff1e43b (patch)
treeca7bf5ed6f0731429b9f9b6d62f2993583c9bcfb /configure
parentbf71c9d9b64a70e56db351c38ff71e5e27d871e7 (diff)
audio clean up (initial patch by malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1131 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure20
1 files changed, 19 insertions, 1 deletions
diff --git a/configure b/configure
index 28cb708ca1..9d45ab9dbf 100755
--- a/configure
+++ b/configure
@@ -72,6 +72,8 @@ mingw32="no"
EXESUF=""
gdbstub="yes"
slirp="yes"
+adlib="no"
+oss="no"
# OS specific
targetos=`uname -s`
@@ -81,18 +83,23 @@ mingw32="yes"
;;
FreeBSD)
bsd="yes"
+oss="yes"
;;
NetBSD)
bsd="yes"
+oss="yes"
;;
OpenBSD)
bsd="yes"
+oss="yes"
;;
Darwin)
bsd="yes"
darwin="yes"
;;
-*) ;;
+*)
+oss="yes"
+;;
esac
if [ "$bsd" = "yes" ] ; then
@@ -147,6 +154,8 @@ for opt do
;;
--disable-slirp) slirp="no"
;;
+ --enable-adlib) adlib="yes"
+ ;;
esac
done
@@ -316,6 +325,7 @@ echo "static build $static"
echo "SDL support $sdl"
echo "SDL static link $sdl_static"
echo "mingw32 support $mingw32"
+echo "Adlib support $adlib"
if test $sdl_too_old = "yes"; then
echo "-> Your SDL version is too old - please upgrade to have FFplay/SDL support"
@@ -416,6 +426,14 @@ if test "$slirp" = "yes" ; then
echo "CONFIG_SLIRP=yes" >> $config_mak
echo "#define CONFIG_SLIRP 1" >> $config_h
fi
+if test "$adlib" = "yes" ; then
+ echo "CONFIG_ADLIB=yes" >> $config_mak
+ echo "#define CONFIG_ADLIB 1" >> $config_h
+fi
+if test "$oss" = "yes" ; then
+ echo "CONFIG_OSS=yes" >> $config_mak
+ echo "#define CONFIG_OSS 1" >> $config_h
+fi
echo -n "VERSION=" >>$config_mak
head $source_path/VERSION >>$config_mak
echo "" >>$config_mak