summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-17 20:56:40 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-17 20:56:40 +0000
commit70848671d39f495c5218a9fa1cb09ec7a64bbc47 (patch)
treec12018d7a2be5480047b086d7eff5a3076e321eb /configure
parentfe882df796a395c40cfcd9b10d17cdf40e2d797b (diff)
downloadmpv-70848671d39f495c5218a9fa1cb09ec7a64bbc47.tar.bz2
mpv-70848671d39f495c5218a9fa1cb09ec7a64bbc47.tar.xz
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10652 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 9 insertions, 5 deletions
diff --git a/configure b/configure
index 782d134630..825fc6366e 100755
--- a/configure
+++ b/configure
@@ -275,11 +275,12 @@ Hazardous options a.k.a. "DO NOT REPORT ANY BUGS!"
--disable-gcc-checking disable gcc version checking [enable]
Use these options if autodetection fails:
- --with-extraincdir=DIR extra headers (png, dvb, mad, sdl, css, ...) in DIR
+ --with-extraincdir=DIR extra headers (png, mad, sdl, css, ...) in DIR
--with-extralibdir=DIR extra library files (png, SDL, ...) in DIR
--with-x11incdir=DIR X headers in DIR
--with-x11libdir=DIR X library files in DIR
--with-dxr2incdir=DIR DXR2 headers in DIR
+ --with-dvbincdir=DIR DVB headers in DIR
--with-csslibdir=DIR libcss in DIR
--with-madlibdir=DIR libmad (libmad shared library) in DIR
--with-mlibdir=DIR libmlib (MLIB support) in DIR (Solaris only)
@@ -1465,6 +1466,9 @@ for ac_option do
--with-xvmclib=*)
_xvmclib=`echo $ac_option | cut -d '=' -f 2`
;;
+ --with-dvbincdir=*)
+ _inc_dvb=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'`
+ ;;
--with-xvidcore=*)
_xvidcore=`echo $ac_option | cut -d '=' -f 2`
;;
@@ -3081,7 +3085,7 @@ EOF
_dvb=yes
echores "yes"
else
- for I in "-I/usr/src/DVB/ost/include" "$_inc_extra/ost/include" ; do
+ for I in "$_inc_dvb" "-I/usr/src/DVB/ost/include" ; do
if cc_check "$I" ; then
_dvb=yes
_inc_dvb="$I"
@@ -3089,7 +3093,7 @@ EOF
break
fi
done
- test "$_dvb" = no && echores "no (specify path to DVB/ost/include with --with-extraincdir=DIR)"
+ test "$_dvb" = no && echores "no (specify path to DVB/ost/include with --with-dvbincdir=DIR)"
fi
else
echores "no"
@@ -3122,7 +3126,7 @@ EOF
_dvbhead=yes
echores "yes"
else
- for I in "-I/usr/src/DVB/include" "$_inc_extra/include/linux" ; do
+ for I in "$_inc_dvb" "-I/usr/src/DVB/include" ; do
if cc_check "$I" ; then
_dvbhead=yes
_inc_dvb="$I"
@@ -3130,7 +3134,7 @@ EOF
break
fi
done
- test "$_dvbhead" = no && echores "no (specify path to DVB/include (HEAD Version) with --with-extraincdir=DIR)"
+ test "$_dvbhead" = no && echores "no (specify path to DVB/include (HEAD Version) with --with-dvbincdir=DIR)"
fi
else
echores "no"