comparison configure @ 8528:9d143176d95f

XMMS Input plugin support based on patches by Balatoni Denes <pnis@coder.hu> changes by me: glib dependency removed, files merged, code simplified, some bugfixes
author arpi
date Sun, 22 Dec 2002 21:01:01 +0000
parents bcf1b010bf14
children 1aa2c9b460af
comparison
equal deleted inserted replaced
8527:157667ae4d85 8528:9d143176d95f
173 --enable-vorbis build with OggVorbis support [autodetect] 173 --enable-vorbis build with OggVorbis support [autodetect]
174 --enable-tremor build with integer-only OggVorbis support [disabled] 174 --enable-tremor build with integer-only OggVorbis support [disabled]
175 --enable-faad build with FAAD2 (MP4/AAC) support [autodetect] 175 --enable-faad build with FAAD2 (MP4/AAC) support [autodetect]
176 --disable-libdv disable libdv 0.9.5 en/decoding support [autodetect] 176 --disable-libdv disable libdv 0.9.5 en/decoding support [autodetect]
177 --disable-mad disable libmad (mpeg audio) support [autodetect] 177 --disable-mad disable libmad (mpeg audio) support [autodetect]
178 --enable-xmms build with XMMS inputplugin support [disabled]
178 179
179 Video output: 180 Video output:
180 --disable-vidix disable VIDIX stuff [enable on x86 *nix] 181 --disable-vidix disable VIDIX stuff [enable on x86 *nix]
181 --enable-gl build with OpenGL render support [autodetect] 182 --enable-gl build with OpenGL render support [autodetect]
182 --enable-dga[=n] build with DGA [n in {1, 2} ] support [autodetect] 183 --enable-dga[=n] build with DGA [n in {1, 2} ] support [autodetect]
266 (e.g. /opt/bin/freetype-config) 267 (e.g. /opt/bin/freetype-config)
267 --with-gtk-config=PATH path to gtk*-config (e.g. /opt/bin/gtk-config) 268 --with-gtk-config=PATH path to gtk*-config (e.g. /opt/bin/gtk-config)
268 --with-glib-config=PATH path to glib*-config (e.g. /opt/bin/glib-config) 269 --with-glib-config=PATH path to glib*-config (e.g. /opt/bin/glib-config)
269 --with-dvdnav-config=PATH path to dvdnav-config 270 --with-dvdnav-config=PATH path to dvdnav-config
270 --with-livelibdir=DIR path to LIVE.COM Streaming Media libraries 271 --with-livelibdir=DIR path to LIVE.COM Streaming Media libraries
272 --with-xmmsplugindir=DIR path to xmms plugins
273 --with-xmmslibdir=DIR path to libxmms.so.1
271 274
272 EOF 275 EOF
273 exit 0 276 exit 0
274 fi 277 fi
275 done # for parm in ... 278 done # for parm in ...
974 _liblzo=auto 977 _liblzo=auto
975 _mad=auto 978 _mad=auto
976 _vorbis=auto 979 _vorbis=auto
977 _tremor=no 980 _tremor=no
978 _faad=auto 981 _faad=auto
982 _xmms=no
979 _css=auto 983 _css=auto
980 _dvdnav=yes 984 _dvdnav=yes
981 _dvdread=auto 985 _dvdread=auto
982 _dvdkit=auto 986 _dvdkit=auto
983 _xanim=auto 987 _xanim=auto
1114 --disable-vorbis) _vorbis=no ;; 1118 --disable-vorbis) _vorbis=no ;;
1115 --enable-tremor) _tremor=yes ;; 1119 --enable-tremor) _tremor=yes ;;
1116 --disable-tremor) _tremor=no ;; 1120 --disable-tremor) _tremor=no ;;
1117 --enable-faad) _faad=yes ;; 1121 --enable-faad) _faad=yes ;;
1118 --disable-faad) _faad=no ;; 1122 --disable-faad) _faad=no ;;
1123 --enable-xmms) _xmms=yes ;;
1119 --enable-css) _css=yes ;; 1124 --enable-css) _css=yes ;;
1120 --disable-css) _css=no ;; 1125 --disable-css) _css=no ;;
1121 --enable-dvdread) _dvdread=yes ;; 1126 --enable-dvdread) _dvdread=yes ;;
1122 --disable-dvdread) _dvdread=no ;; 1127 --disable-dvdread) _dvdread=no ;;
1123 --enable-mpdvdkit) _dvdkit=yes ;; 1128 --enable-mpdvdkit) _dvdkit=yes ;;
1257 --with-mlibdir=*) 1262 --with-mlibdir=*)
1258 _mlibdir=`echo $ac_option | cut -d '=' -f 2` 1263 _mlibdir=`echo $ac_option | cut -d '=' -f 2`
1259 _mlib=yes 1264 _mlib=yes
1260 ;; 1265 ;;
1261 1266
1267 --with-xmmslibdir=*)
1268 _xmmslibdir=`echo $ac_option | cut -d '=' -f 2`
1269 ;;
1270
1271 --with-xmmsplugindir=*)
1272 _xmmsplugindir=`echo $ac_option | cut -d '=' -f 2`
1273 ;;
1274
1262 --disable-profile) 1275 --disable-profile)
1263 _profile= 1276 _profile=
1264 ;; 1277 ;;
1265 --enable-profile) 1278 --enable-profile)
1266 _profile='-p' 1279 _profile='-p'
4343 _def_sortsub='#define USE_SORTSUB 1' 4356 _def_sortsub='#define USE_SORTSUB 1'
4344 else 4357 else
4345 _def_sortsub='#undef USE_SORTSUB' 4358 _def_sortsub='#undef USE_SORTSUB'
4346 fi 4359 fi
4347 echores "$_sortsub" 4360 echores "$_sortsub"
4361
4362
4363 echocheck "XMMS inputplugin support"
4364 if test "$_xmms" = yes ; then
4365
4366 if ( xmms-config --version ) >/dev/null 2>&1 ; then
4367 if test -z "$_xmmsplugindir" ; then
4368 _xmmsplugindir=`xmms-config --input-plugin-dir`
4369 fi
4370 if test -z "$_xmmslibdir" ; then
4371 _xmmslibdir=`xmms-config --exec-prefix`/lib
4372 fi
4373 else
4374 if test -z "$_xmmsplugindir" ; then
4375 _xmmsplugindir=/usr/lib/xmms/Input
4376 fi
4377 if test -z "$_xmmslibdir" ; then
4378 _xmmslibdir=/usr/lib
4379 fi
4380 fi
4381
4382 _def_xmms='#define HAVE_XMMS 1'
4383 _xmms_lib="${_xmmslibdir}/libxmms.so.1 -export-dynamic"
4384 else
4385 _def_xmms='#undef HAVE_XMMS'
4386 fi
4387 echores "$_xmms"
4348 4388
4349 # --------------- GUI specific tests begin ------------------- 4389 # --------------- GUI specific tests begin -------------------
4350 echocheck "GUI" 4390 echocheck "GUI"
4351 echo "$_gui" 4391 echo "$_gui"
4352 if test "$_gui" = yes ; then 4392 if test "$_gui" = yes ; then
4693 FREETYPE_LIB = $_ld_freetype 4733 FREETYPE_LIB = $_ld_freetype
4694 LIBLZO_LIB= $_ld_liblzo 4734 LIBLZO_LIB= $_ld_liblzo
4695 MAD_LIB = $_ld_mad 4735 MAD_LIB = $_ld_mad
4696 VORBIS_LIB = $_ld_vorbis $_ld_libdv 4736 VORBIS_LIB = $_ld_vorbis $_ld_libdv
4697 FAAD_LIB = $_ld_faad 4737 FAAD_LIB = $_ld_faad
4738 XMMS_PLUGINS = $_xmms
4739 XMMS_LIB = $_xmms_lib
4698 4740
4699 # --- Some stuff for autoconfigure ---- 4741 # --- Some stuff for autoconfigure ----
4700 $_target_arch 4742 $_target_arch
4701 $_confcygwin 4743 $_confcygwin
4702 TARGET_CPU=$iproc 4744 TARGET_CPU=$iproc
5098 /* enables / disables osd menu */ 5140 /* enables / disables osd menu */
5099 $_def_menu 5141 $_def_menu
5100 5142
5101 /* enables / disables subtitles sorting */ 5143 /* enables / disables subtitles sorting */
5102 $_def_sortsub 5144 $_def_sortsub
5145
5146 /* XMMS input plugin support */
5147 $_def_xmms
5148 #define XMMS_INPUT_PLUGIN_DIR "$_xmmsplugindir"
5103 5149
5104 /* Extension defines */ 5150 /* Extension defines */
5105 $_def_3dnow // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.) 5151 $_def_3dnow // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.)
5106 $_def_3dnowex // only define if you have 3DNOWEX (AMD Athlon, etc.) 5152 $_def_3dnowex // only define if you have 3DNOWEX (AMD Athlon, etc.)
5107 $_def_mmx // only define if you have MMX (newer x86 chips, not P54C/PPro) 5153 $_def_mmx // only define if you have MMX (newer x86 chips, not P54C/PPro)