[Mplayer-cvslog] CVS: main configure,1.927,1.928

Sascha Sommer CVS syncmail at mplayerhq.hu
Sat Oct 30 11:31:37 CEST 2004


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv13750

Modified Files:
	configure 
Log Message:
avoid infinite recursion patch by Bernhard Rosenkraenzer <bero at arklinux.org>

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.927
retrieving revision 1.928
diff -u -r1.927 -r1.928
--- configure	30 Oct 2004 08:17:48 -0000	1.927
+++ configure	30 Oct 2004 09:31:33 -0000	1.928
@@ -2283,6 +2283,12 @@
 else
   echores "none"
 fi
+# Avoid infinite recursion loop ("#define restrict restrict")
+if [ "$_def_restrict_keyword" != "restrict" ]; then
+  _def_restrict_keyword="#define restrict $_def_restrict_keyword"
+else
+  _def_restrict_keyword=""
+fi
 
 
 echocheck "kstat"
@@ -6588,7 +6594,7 @@
 $_def_dynamic_plugins
 
 /* "restrict" keyword */
-#define restrict $_def_restrict_keyword
+$_def_restrict_keyword
 
 /* attribute(used) as needed by some compilers */
 #if (__GNUC__ * 100 + __GNUC_MINOR__ >= 300)




More information about the MPlayer-cvslog mailing list