summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure29
1 files changed, 29 insertions, 0 deletions
diff --git a/configure b/configure
index 41809c65dd..e035652add 100755
--- a/configure
+++ b/configure
@@ -415,6 +415,7 @@ Audio output:
--disable-nas disable NAS audio output [autodetect]
--disable-sgiaudio disable SGI audio output [autodetect]
--disable-sunaudio disable Sun audio output [autodetect]
+ --disable-dart disable DART audio output [autodetect]
--disable-win32waveout disable Windows waveout audio output [autodetect]
--disable-select disable using select() on the audio device [enable]
@@ -588,6 +589,7 @@ _arts=auto
_esd=auto
_pulse=auto
_jack=auto
+_dart=auto
_openal=auto
_libcdio=auto
_liblzo=auto
@@ -956,6 +958,8 @@ for ac_option do
--disable-jack) _jack=no ;;
--enable-openal) _openal=yes ;;
--disable-openal) _openal=no ;;
+ --enable-dart) _dart=yes ;;
+ --disable-dart) _dart=no ;;
--enable-mad) _mad=yes ;;
--disable-mad) _mad=no ;;
--enable-mp3lame) _mp3lame=yes ;;
@@ -5645,6 +5649,29 @@ echores "$_sgiaudio"
fi #if irix
+if os2 ; then
+echocheck "DART"
+if test "$_dart" = auto; then
+ cat > $TMPC << EOF
+#include <os2.h>
+#include <dart.h>
+int main( void ) { return 0; }
+EOF
+ _dart=no;
+ cc_check -ldart && _dart=yes
+fi
+if test "$_dart" = yes ; then
+ def_dart='#define CONFIG_DART 1'
+ _libs_mplayer="$_libs_mplayer -ldart"
+ _aomodules="dart $_aomodules"
+else
+ def_dart='#undef CONFIG_DART'
+ _noaomodules="dart $_noaomodules"
+fi
+echores "$_dart"
+fi #if os2
+
+
# set default CD/DVD devices
if win32 || os2 ; then
default_cdrom_device="D:"
@@ -8083,6 +8110,7 @@ CDDA = $_cdda
CDDB = $_cddb
COREAUDIO = $_coreaudio
COREVIDEO = $_corevideo
+DART = $_dart
DFBMGA = $_dfbmga
DGA = $_dga
DIRECT3D = $_direct3d
@@ -8525,6 +8553,7 @@ $def_alsa5
$def_alsa9
$def_arts
$def_coreaudio
+$def_dart
$def_esd
$def_esd_latency
$def_jack