summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-17 22:50:30 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-17 22:50:30 +0000
commit2afaded565720229e800d2773ab2f1a8f74cb31f (patch)
treedfb61127bb161a56bfa9635a65c12e2514af4330 /configure
parent9d1468947ad7498ece2e6cc2863f5897555a1731 (diff)
downloadmpv-2afaded565720229e800d2773ab2f1a8f74cb31f.tar.bz2
mpv-2afaded565720229e800d2773ab2f1a8f74cb31f.tar.xz
removed _x _y support (no longer used)
cosmetic for DVD support (css/dvdread) xanim detection slightly changed git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2962 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure49
1 files changed, 16 insertions, 33 deletions
diff --git a/configure b/configure
index 21a4627ee7..9099599400 100755
--- a/configure
+++ b/configure
@@ -63,7 +63,7 @@ echocheck() {
# Use this to echo the results of a check
echores() {
- echo "Result is $@" >> "$TMPLOG"
+ echo "Result is: $@" >> "$TMPLOG"
echo "##########################################" >> "$TMPLOG"
echo "" >> "$TMPLOG"
echo "$@"
@@ -658,15 +658,11 @@ _gui=no
_termcap=auto
_3dfx=no
_tdfxfb=no
-
+_largefiles=no
_vo2=no
-
-_x=1
-_y=1
_language=en
-
for ac_option do
case "$ac_option" in
# Skip 1st pass
@@ -754,7 +750,8 @@ for ac_option do
--disable-tdfxfb) _tdfxfb=no ;;
--enable-mtrr) _mtrr=yes ;;
--disable-mtrr) _mtrr=no ;;
-
+ --enable-largefiles) _largefiles=yes ;;
+ --enable-largefiles) _largefiles=no ;;
--enable-vo2) _vo2=yes ;;
--disable-vo2) _vo2=no ;;
@@ -788,17 +785,6 @@ for ac_option do
_mlib=yes
;;
- --size-x=*)
- _x=`echo $ac_option | cut -d '=' -f 2`
- ;;
- --size-y=*)
- _y=`echo $ac_option | cut -d '=' -f 2`
- ;;
-
- --enable-largefiles)
- _largefiles=yes
- ;;
-
--enable-profile)
_profile='-p'
;;
@@ -949,12 +935,6 @@ fi
######################
-echocheck "Screen size ..."
-_def_x="#define SCREEN_SIZE_X $_x"
-_def_y="#define SCREEN_SIZE_Y $_y"
-echores "${_x} x ${_y}"
-
-
echocheck "Extra headers"
echores "$_extraincdir"
@@ -1738,7 +1718,7 @@ fi
echores "$_sgiaudio"
-echocheck "Encrypted DVD support"
+echocheck "DVD support"
if test "$_dvdread" = auto ; then
cat > $TMPC << EOF
#include <dvdread/dvd_reader.h>
@@ -1758,7 +1738,7 @@ if test "$_css" = auto ; then
int main(void) { int i=CSSisEncrypted(0); return 0; }
EOF
_css=no
- cc_check -lcss && _css=yes
+ cc_check -lcss && _css=yes
fi
# dvdread preferred to DeCSS
if test "$_dvdread" = yes ; then
@@ -1766,16 +1746,16 @@ if test "$_dvdread" = yes ; then
_def_dvdread='#define USE_DVDREAD 1'
_def_css='#undef HAVE_LIBCSS'
_ld_css='-ldvdread'
- echores "-ldvdread"
+ echores "libdvdread"
elif test "$_css" = yes ; then
_def_dvdread='#undef USE_DVDREAD'
_def_css='#define HAVE_LIBCSS 1'
test "$_csslibdir" && _ld_css="-L${_csslibdir} ${_ld_css}"
- echores "-lcss"
+ echores "libcss"
else
_def_dvdread='#undef USE_DVDREAD'
_def_css='#undef HAVE_LIBCSS'
- echores "none"
+ echores "no"
fi
@@ -1906,9 +1886,12 @@ fi
echocheck "XAnim DLL"
if test "$_xanim" = auto ; then
+ # xanim only requires dlopen() and/or libdl
+ cat > $TMPC << EOF
+int main(void) { (void) dlopen(0, 0); return 0; }
+EOF
_xanim=no
- # FreeBSD does not libdl
- if freebsd || test "$_dl" = yes ; then
+ if cc_check || test "$_dl" = yes ; then
if test "$host_arch" = i386 ; then
if test -z "$_xanimlibdir" ; then
for I in /usr/local/lib/xanim/mods /usr/lib/xanim/mods ; do
@@ -2538,8 +2521,8 @@ $_def_mlib // Sun mediaLib, available only on solaris
#endif
/* libvo options */
-$_def_x
-$_def_y
+#define SCREEN_SIZE_X 1
+#define SCREEN_SIZE_Y 1
$_def_x11
$_def_xv
$_def_vm