[Mplayer-cvslog] CVS: main configure,1.601,1.602

Alex Beregszaszi alex at mplayerhq.hu
Mon Nov 11 19:25:23 CET 2002


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

Modified Files:
	configure 
Log Message:
added DYNAMIC_PLUGINS support (dlopen)

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.601
retrieving revision 1.602
diff -u -r1.601 -r1.602
--- configure	11 Nov 2002 09:37:29 -0000	1.601
+++ configure	11 Nov 2002 18:25:02 -0000	1.602
@@ -233,6 +233,7 @@
   --enable-profile       compile profiling information into mplayer [disable]
   --disable-sighandler   disable sighandler for crashes [enable]
   --enable-i18n          _experimental_ gnu gettext() support [autodetect]
+  --enable-dynamic-plugins  Enable support for dynamic a/v plugins [disable]
 
 Hazardous options a.k.a. "DO NOT REPORT ANY BUGS!"
   --disable-gcc-checking   disable gcc version checking [enable]
@@ -1004,6 +1005,7 @@
 _shm=auto
 _linux_devfs=no
 _i18n=auto
+_dynamic_plugins=no
 _setlocale=auto
 _sighandler=yes
 _libdv=auto
@@ -1032,6 +1034,8 @@
   --disable-mencoder)	_mencoder=no	;;
   --enable-i18n)	_i18n=yes	;;
   --disable-i18n)	_i18n=no	;;
+  --enable-dynamic-plugins) _dynamic_plugins=yes ;;
+  --disable-dynamic-plugins) _dynamic_plugins=no ;;
   --enable-setlocale)   _setlocale=yes  ;;
   --disable-setlocale)  _setlocale=no   ;;
   --enable-x11)		_x11=yes	;;
@@ -1540,6 +1544,7 @@
 fi
 echores "$_runtime_cpudetection"
 
+
 echocheck "restrict keyword"
 for restrict_keyword in restrict __restrict __restrict__ ; do
   echo "void foo(char * $restrict_keyword p); int main(){}" > $TMPC
@@ -1554,6 +1559,7 @@
   echores "none"
 fi
 
+
 echocheck "kstat"
 cat > $TMPC << EOF
 #include <kstat.h>
@@ -1680,6 +1686,7 @@
   _def_use_aton='#define USE_ATON 1'
 fi
 
+
 echocheck "inttypes.h (required)"
 cat > $TMPC << EOF
 #include <inttypes.h>
@@ -1695,6 +1702,7 @@
 fi
 echores "$_inttypes"
 
+
 echocheck "word size"
 _mp_wordsize="#undef MP_WORDSIZE"
 cat > $TMPC << EOF
@@ -1705,6 +1713,7 @@
 cc_check && _wordsize=`$TMPO` && _mp_wordsize="#define MP_WORDSIZE $_wordsize"
 echores "$_wordsize"
 
+
 echocheck "stddef.h"
 cat > $TMPC << EOF
 #include <stddef.h>
@@ -1804,6 +1813,18 @@
 echores "$_dl"
 
 
+echocheck "dynamic a/v plugins support"
+if test "$_dl" = no ; then
+  _dynamic_plugins = no
+fi
+if test "$_dynamic_plugins" = yes ; then
+  _def_dynamic_plugins='#define DYNAMIC_PLUGINS 1'
+else
+  _def_dynamic_plugins='#undef DYNAMIC_PLUGINS'
+fi
+echores "$_dynamic_plugins"
+
+
 #echocheck "dynamic linking"
 # FIXME !! make this dynamic detection work and modify at the end (search _ld_dl_dynamic)
 # also gcc flags are different, but ld flags aren't (-Bdynamic/-Bstatic/-Bsymbolic)
@@ -1889,6 +1910,7 @@
   _def_soundcard='#undef HAVE_SOUNDCARD_H'
 fi
 
+
 echocheck "sys/dvdio.h"
 cat > $TMPC << EOF
 #include <unistd.h>
@@ -4595,6 +4617,9 @@
 
 /* Runtime CPU detection */
 $_def_runtime_cpudetection
+
+/* Dynamic a/v plugins */
+$_def_dynamic_plugins
 
 /* "restrict" keyword */
 #define restrict $_def_restrict_keyword




More information about the MPlayer-cvslog mailing list