[Mplayer-cvslog] CVS: main configure2,1.254,1.255

pl pl at mplayer.dev.hu
Sat Nov 17 23:50:33 CET 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv24801

Modified Files:
	configure2 
Log Message:
removed _x _y support (no longer used)
cosmetic for DVD support (css/dvdread)
xanim detection slightly changed


Index: configure2
===================================================================
RCS file: /cvsroot/mplayer/main/configure2,v
retrieving revision 1.254
retrieving revision 1.255
diff -u -r1.254 -r1.255
--- configure2	17 Nov 2001 13:23:13 -0000	1.254
+++ configure2	17 Nov 2001 22:50:30 -0000	1.255
@@ -63,7 +63,7 @@
 
 # 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 @@
 _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 @@
   --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 @@
     _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 @@
 ######################
 
 
-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 @@
 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 @@
 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 @@
   _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 @@
 
 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 @@
 #endif
 
 /* libvo options */
-$_def_x
-$_def_y
+#define SCREEN_SIZE_X 1
+#define SCREEN_SIZE_Y 1
 $_def_x11
 $_def_xv
 $_def_vm




More information about the MPlayer-cvslog mailing list