comparison configure @ 13744:d66e3d5865b8

Add --enable and --disable options for vo_pnm and vo_md5sum to configure. It's now possible to compile libvo without pnm and/or md5sum support. Default is enable.
author ivo
date Sat, 23 Oct 2004 22:43:19 +0000
parents 821f464b4d90
children 03b6c4539b3c
comparison
equal deleted inserted replaced
13743:5a999bdc0534 13744:d66e3d5865b8
251 --enable-directfb build with DirectFB support [autodetect] 251 --enable-directfb build with DirectFB support [autodetect]
252 --enable-zr build with ZR360[56]7/ZR36060 support [autodetect] 252 --enable-zr build with ZR360[56]7/ZR36060 support [autodetect]
253 --enable-bl build with Blinkenlights support [disable] 253 --enable-bl build with Blinkenlights support [disable]
254 --enable-tdfxvid build with tdfx_vid support [disable] 254 --enable-tdfxvid build with tdfx_vid support [disable]
255 --disable-tga disable targa output support [enable] 255 --disable-tga disable targa output support [enable]
256 --disable-pnm disable pnm output support [enable]
257 --disable-md5sum disable md5sum output support [enable]
256 258
257 Audio output: 259 Audio output:
258 --disable-alsa disable ALSA sound support [autodetect] 260 --disable-alsa disable ALSA sound support [autodetect]
259 --disable-ossaudio disable OSS sound support [autodetect] 261 --disable-ossaudio disable OSS sound support [autodetect]
260 --disable-arts disable aRts sound support [autodetect] 262 --disable-arts disable aRts sound support [autodetect]
1262 _directx=auto 1264 _directx=auto
1263 _win32waveout=auto 1265 _win32waveout=auto
1264 _nas=auto 1266 _nas=auto
1265 _png=auto 1267 _png=auto
1266 _jpg=auto 1268 _jpg=auto
1269 _pnm=yes
1270 _md5sum=yes
1267 _gif=auto 1271 _gif=auto
1268 _gl=auto 1272 _gl=auto
1269 _ggi=auto 1273 _ggi=auto
1270 _aa=auto 1274 _aa=auto
1271 _caca=auto 1275 _caca=auto
1412 --disable-nas) _nas=no ;; 1416 --disable-nas) _nas=no ;;
1413 --enable-png) _png=yes ;; 1417 --enable-png) _png=yes ;;
1414 --disable-png) _png=no ;; 1418 --disable-png) _png=no ;;
1415 --enable-jpeg) _jpg=yes ;; 1419 --enable-jpeg) _jpg=yes ;;
1416 --disable-jpeg) _jpg=no ;; 1420 --disable-jpeg) _jpg=no ;;
1421 --enable-pnm) _pnm=yes ;;
1422 --disable-pnm) _pnm=no ;;
1423 --enable-md5sum) _md5sum=yes ;;
1424 --disable-md5sum) _md5sum=no ;;
1417 --enable-gif) _gif=yes ;; 1425 --enable-gif) _gif=yes ;;
1418 --disable-gif) _gif=no ;; 1426 --disable-gif) _gif=no ;;
1419 --enable-gl) _gl=yes ;; 1427 --enable-gl) _gl=yes ;;
1420 --disable-gl) _gl=no ;; 1428 --disable-gl) _gl=no ;;
1421 --enable-ggi) _ggi=yes ;; 1429 --enable-ggi) _ggi=yes ;;
3877 _novomodules="jpeg $_novomodules" 3885 _novomodules="jpeg $_novomodules"
3878 _mkf_jpg="no" 3886 _mkf_jpg="no"
3879 fi 3887 fi
3880 3888
3881 3889
3890
3891 echocheck "PNM support"
3892 if test "$_pnm" = yes; then
3893 _def_pnm="#define HAVE_PNM"
3894 _vosrc="$_vosrc vo_pnm.c"
3895 _vomodules="pnm $_vomodules"
3896 else
3897 _def_pnm="#undef HAVE_PNM"
3898 _novomodules="pnm $_novomodules"
3899 fi
3900 echores "$_pnm"
3901
3902
3903
3904 echocheck "md5sum support"
3905 if test "$_md5sum" = yes; then
3906 _def_md5sum="#define HAVE_MD5SUM"
3907 _vosrc="$_vosrc vo_md5sum.c md5sum.c"
3908 _vomodules="md5sum $_vomodules"
3909 else
3910 _def_md5sum="#undef HAVE_MD5SUM"
3911 _novomodules="md5sum $_novomodules"
3912 fi
3913 echores "$_md5sum"
3914
3915
3916
3882 echocheck "GIF support" 3917 echocheck "GIF support"
3883 # This is to appease people who want to force gif support. 3918 # This is to appease people who want to force gif support.
3884 # If it is forced to yes, then we still do checks to determine 3919 # If it is forced to yes, then we still do checks to determine
3885 # which gif library to use. 3920 # which gif library to use.
3886 if test "$_gif" = yes ; then 3921 if test "$_gif" = yes ; then
6957 $_def_png 6992 $_def_png
6958 6993
6959 /* enable JPEG support */ 6994 /* enable JPEG support */
6960 $_def_jpg 6995 $_def_jpg
6961 6996
6997 /* enable PNM support */
6998 $_def_pnm
6999
7000 /* enable md5sum support */
7001 $_def_md5sum
7002
6962 /* enable GIF support */ 7003 /* enable GIF support */
6963 $_def_gif 7004 $_def_gif
6964 $_def_gif_4 7005 $_def_gif_4
6965 $_def_gif_tvt_hack 7006 $_def_gif_tvt_hack
6966 7007