Mercurial > mplayer.hg
comparison configure @ 10651:efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
author | alex |
---|---|
date | Sun, 17 Aug 2003 20:56:40 +0000 |
parents | 620cc649f519 |
children | c5e7b34bfc19 |
comparison
equal
deleted
inserted
replaced
10650:6f51d17ecfc8 | 10651:efb6dcac967d |
---|---|
273 | 273 |
274 Hazardous options a.k.a. "DO NOT REPORT ANY BUGS!" | 274 Hazardous options a.k.a. "DO NOT REPORT ANY BUGS!" |
275 --disable-gcc-checking disable gcc version checking [enable] | 275 --disable-gcc-checking disable gcc version checking [enable] |
276 | 276 |
277 Use these options if autodetection fails: | 277 Use these options if autodetection fails: |
278 --with-extraincdir=DIR extra headers (png, dvb, mad, sdl, css, ...) in DIR | 278 --with-extraincdir=DIR extra headers (png, mad, sdl, css, ...) in DIR |
279 --with-extralibdir=DIR extra library files (png, SDL, ...) in DIR | 279 --with-extralibdir=DIR extra library files (png, SDL, ...) in DIR |
280 --with-x11incdir=DIR X headers in DIR | 280 --with-x11incdir=DIR X headers in DIR |
281 --with-x11libdir=DIR X library files in DIR | 281 --with-x11libdir=DIR X library files in DIR |
282 --with-dxr2incdir=DIR DXR2 headers in DIR | 282 --with-dxr2incdir=DIR DXR2 headers in DIR |
283 --with-dvbincdir=DIR DVB headers in DIR | |
283 --with-csslibdir=DIR libcss in DIR | 284 --with-csslibdir=DIR libcss in DIR |
284 --with-madlibdir=DIR libmad (libmad shared library) in DIR | 285 --with-madlibdir=DIR libmad (libmad shared library) in DIR |
285 --with-mlibdir=DIR libmlib (MLIB support) in DIR (Solaris only) | 286 --with-mlibdir=DIR libmlib (MLIB support) in DIR (Solaris only) |
286 --with-codecsdir=DIR Binary codec files in DIR | 287 --with-codecsdir=DIR Binary codec files in DIR |
287 --with-win32libdir=DIR W*ndows DLL files in DIR | 288 --with-win32libdir=DIR W*ndows DLL files in DIR |
1463 _inc_dxr2=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` | 1464 _inc_dxr2=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` |
1464 ;; | 1465 ;; |
1465 --with-xvmclib=*) | 1466 --with-xvmclib=*) |
1466 _xvmclib=`echo $ac_option | cut -d '=' -f 2` | 1467 _xvmclib=`echo $ac_option | cut -d '=' -f 2` |
1467 ;; | 1468 ;; |
1469 --with-dvbincdir=*) | |
1470 _inc_dvb=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'` | |
1471 ;; | |
1468 --with-xvidcore=*) | 1472 --with-xvidcore=*) |
1469 _xvidcore=`echo $ac_option | cut -d '=' -f 2` | 1473 _xvidcore=`echo $ac_option | cut -d '=' -f 2` |
1470 ;; | 1474 ;; |
1471 --with-sdl-config=*) | 1475 --with-sdl-config=*) |
1472 _sdlconfig=`echo $ac_option | cut -d '=' -f 2` | 1476 _sdlconfig=`echo $ac_option | cut -d '=' -f 2` |
3079 EOF | 3083 EOF |
3080 if cc_check ; then | 3084 if cc_check ; then |
3081 _dvb=yes | 3085 _dvb=yes |
3082 echores "yes" | 3086 echores "yes" |
3083 else | 3087 else |
3084 for I in "-I/usr/src/DVB/ost/include" "$_inc_extra/ost/include" ; do | 3088 for I in "$_inc_dvb" "-I/usr/src/DVB/ost/include" ; do |
3085 if cc_check "$I" ; then | 3089 if cc_check "$I" ; then |
3086 _dvb=yes | 3090 _dvb=yes |
3087 _inc_dvb="$I" | 3091 _inc_dvb="$I" |
3088 echores "yes (using $_inc_dvb)" | 3092 echores "yes (using $_inc_dvb)" |
3089 break | 3093 break |
3090 fi | 3094 fi |
3091 done | 3095 done |
3092 test "$_dvb" = no && echores "no (specify path to DVB/ost/include with --with-extraincdir=DIR)" | 3096 test "$_dvb" = no && echores "no (specify path to DVB/ost/include with --with-dvbincdir=DIR)" |
3093 fi | 3097 fi |
3094 else | 3098 else |
3095 echores "no" | 3099 echores "no" |
3096 fi | 3100 fi |
3097 if test "$_dvb" = yes ; then | 3101 if test "$_dvb" = yes ; then |
3120 EOF | 3124 EOF |
3121 if cc_check ; then | 3125 if cc_check ; then |
3122 _dvbhead=yes | 3126 _dvbhead=yes |
3123 echores "yes" | 3127 echores "yes" |
3124 else | 3128 else |
3125 for I in "-I/usr/src/DVB/include" "$_inc_extra/include/linux" ; do | 3129 for I in "$_inc_dvb" "-I/usr/src/DVB/include" ; do |
3126 if cc_check "$I" ; then | 3130 if cc_check "$I" ; then |
3127 _dvbhead=yes | 3131 _dvbhead=yes |
3128 _inc_dvb="$I" | 3132 _inc_dvb="$I" |
3129 echores "yes (using $_inc_dvb)" | 3133 echores "yes (using $_inc_dvb)" |
3130 break | 3134 break |
3131 fi | 3135 fi |
3132 done | 3136 done |
3133 test "$_dvbhead" = no && echores "no (specify path to DVB/include (HEAD Version) with --with-extraincdir=DIR)" | 3137 test "$_dvbhead" = no && echores "no (specify path to DVB/include (HEAD Version) with --with-dvbincdir=DIR)" |
3134 fi | 3138 fi |
3135 else | 3139 else |
3136 echores "no" | 3140 echores "no" |
3137 fi | 3141 fi |
3138 if test "$_dvbhead" = yes ; then | 3142 if test "$_dvbhead" = yes ; then |