comparison configure @ 6384:f0b933918a22

Support for playing audio cds using cdparanoia. Include a raw audio demuxer wich can be used for other purpose.
author albeu
date Tue, 11 Jun 2002 14:29:51 +0000
parents 48e3f3cc291a
children ce074b142a88
comparison
equal deleted inserted replaced
6383:49f9e6b07687 6384:f0b933918a22
160 --enable-i18n GNU internationalisation [disable] 160 --enable-i18n GNU internationalisation [disable]
161 --enable-runtime-cpudetection Enable runtime CPU detection [disable] 161 --enable-runtime-cpudetection Enable runtime CPU detection [disable]
162 --disable-dvdnav Disable dvdnav support [autodetect] 162 --disable-dvdnav Disable dvdnav support [autodetect]
163 --disable-dvdread Disable libdvdread support [autodetect] 163 --disable-dvdread Disable libdvdread support [autodetect]
164 --disable-mpdvdkit Disable mpdvdkit support [autodetect] 164 --disable-mpdvdkit Disable mpdvdkit support [autodetect]
165 --disable-cdparanoia Disable cdparanoia support [autodetect]
165 166
166 Video: 167 Video:
167 --enable-gl build with OpenGL render support [autodetect] 168 --enable-gl build with OpenGL render support [autodetect]
168 --enable-dga[=n] build with DGA [n in {1, 2} ] support [autodetect] 169 --enable-dga[=n] build with DGA [n in {1, 2} ] support [autodetect]
169 --enable-vesa build with VESA support [autodetect] 170 --enable-vesa build with VESA support [autodetect]
902 _shm=auto 903 _shm=auto
903 _linux_devfs=no 904 _linux_devfs=no
904 _i18n=no 905 _i18n=no
905 _sighandler=yes 906 _sighandler=yes
906 _libdv=auto 907 _libdv=auto
908 _cdparanoia=auto
907 909
908 for ac_option do 910 for ac_option do
909 case "$ac_option" in 911 case "$ac_option" in
910 # Skip 1st pass 912 # Skip 1st pass
911 --target=*) ;; 913 --target=*) ;;
1056 --disable-shm) _shm=no ;; 1058 --disable-shm) _shm=no ;;
1057 --enable-select) _select=yes ;; 1059 --enable-select) _select=yes ;;
1058 --disable-select) _select=no ;; 1060 --disable-select) _select=no ;;
1059 --enable-linux-devfs) _linux_devfs=yes ;; 1061 --enable-linux-devfs) _linux_devfs=yes ;;
1060 --disable-linux-devfs) _linux_devfs=no ;; 1062 --disable-linux-devfs) _linux_devfs=no ;;
1063 --enable-cdparanoia) _cdparanoia=yes ;;
1064 --disable-cdparanoia) _cdparanoia=no ;;
1061 1065
1062 --enable-dga) _dga=auto ;; # as we don't know if it's 1 or 2 1066 --enable-dga) _dga=auto ;; # as we don't know if it's 1 or 2
1063 --enable-dga=*) _dga=`echo $ac_option | cut -d '=' -f 2` ;; 1067 --enable-dga=*) _dga=`echo $ac_option | cut -d '=' -f 2` ;;
1064 --disable-dga) _dga=no ;; 1068 --disable-dga) _dga=no ;;
1065 1069
1144 --with-glib-config=*) 1148 --with-glib-config=*)
1145 _glibconfig=`echo $ac_option | cut -d '=' -f 2` 1149 _glibconfig=`echo $ac_option | cut -d '=' -f 2`
1146 ;; 1150 ;;
1147 --with-madlibdir=*) 1151 --with-madlibdir=*)
1148 _ld_mad=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'` 1152 _ld_mad=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
1153 ;;
1154 --with-cdparanoiaincdir=*)
1155 _inc_cdparanoia=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'`
1156 ;;
1157 --with-cdparanoialibdir=*)
1158 _ld_cdparanoia=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
1149 ;; 1159 ;;
1150 1160
1151 --prefix=*) 1161 --prefix=*)
1152 _prefix=`echo $ac_option | cut -d '=' -f 2` 1162 _prefix=`echo $ac_option | cut -d '=' -f 2`
1153 ;; 1163 ;;
3002 else 3012 else
3003 _def_dvdnav='#undef USE_DVDNAV' 3013 _def_dvdnav='#undef USE_DVDNAV'
3004 _noinputmodules="dvdnav $_noinputmodules" 3014 _noinputmodules="dvdnav $_noinputmodules"
3005 echores "no" 3015 echores "no"
3006 fi 3016 fi
3017
3018 echocheck "cdparanoia"
3019 if test "$_cdparanoia" = auto ; then
3020 cat > $TMPC <<EOF
3021 #include <cdda_interface.h>
3022 #include <cdda_paranoia.h>
3023 // This need a better test. How ?
3024 int main(void) { return 1; }
3025 EOF
3026 _cdparanoia=no
3027 cc_check $_inc_cdparnoia $_ld_cdparanoia -lcdda_interface -lcdda_paranoia && _cdparanoia=yes
3028 fi
3029 if test "$_cdparanoia" = yes ; then
3030 _def_cdparanoia='#define HAVE_CDDA'
3031 _ld_cdparanoia="$_ld_cdparanoia -lcdda_interface -lcdda_paranoia"
3032 else
3033 _def_cdparanoia='#undef HAVE_CDDA'
3034 fi
3035 echores "$_cdparanoia"
3007 3036
3008 echocheck "zlib" 3037 echocheck "zlib"
3009 cat > $TMPC << EOF 3038 cat > $TMPC << EOF
3010 #include <zlib.h> 3039 #include <zlib.h>
3011 int main(void) { (void) inflate(0, Z_NO_FLUSH); return 0; } 3040 int main(void) { (void) inflate(0, Z_NO_FLUSH); return 0; }
3964 MENCODER = $_mencoder 3993 MENCODER = $_mencoder
3965 ENCORE_LIB = $_ld_encore $_ld_mp3lame $_ld_libdv 3994 ENCORE_LIB = $_ld_encore $_ld_mp3lame $_ld_libdv
3966 DIRECTFB_INC = $_inc_directfb 3995 DIRECTFB_INC = $_inc_directfb
3967 DIRECTFB_LIB = $_ld_directfb 3996 DIRECTFB_LIB = $_ld_directfb
3968 NEW_INPUT_LIB = $_ld_new_input 3997 NEW_INPUT_LIB = $_ld_new_input
3998 CDPARANOIA_INC = $_inc_cdparnoia
3999 CDPARANOIA_LIB = $_ld_cdparanoia
3969 4000
3970 # --- Some stuff for autoconfigure ---- 4001 # --- Some stuff for autoconfigure ----
3971 $_target_arch 4002 $_target_arch
3972 $_confcygwin 4003 $_confcygwin
3973 TARGET_CPU=$iproc 4004 TARGET_CPU=$iproc
4280 /* enable FAAD (AAC) support */ 4311 /* enable FAAD (AAC) support */
4281 $_def_faad 4312 $_def_faad
4282 4313
4283 /* enable streaming */ 4314 /* enable streaming */
4284 $_def_streaming 4315 $_def_streaming
4316
4317 /* enables / disables cdparanoia support */
4318 $_def_cdparanoia
4285 4319
4286 /* enables / disables vidix usage */ 4320 /* enables / disables vidix usage */
4287 $_def_vidix 4321 $_def_vidix
4288 4322
4289 /* enables / disables new input */ 4323 /* enables / disables new input */