[MPlayer-cvslog] r21574 - trunk/configure

reimar subversion at mplayerhq.hu
Sun Dec 10 16:10:47 CET 2006


Author: reimar
Date: Sun Dec 10 16:10:46 2006
New Revision: 21574

Modified:
   trunk/configure

Log:
Add x11 include path only to _inc_extra if X11 is actually enabled.


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sun Dec 10 16:10:46 2006
@@ -3815,8 +3815,6 @@
       break
     fi
   done
-  #FIXME: This is ugly as it can duplicate a -I parameter..
-  _inc_extra="$_inc_extra $_inc_x11"
   if test -z "$_inc_x11" ; then
     _x11=no
     _x11_headers="no"
@@ -3844,6 +3842,8 @@
   done
 fi
 if test "$_x11" = yes ; then
+  #FIXME: This is ugly as it can duplicate a -I parameter..
+  _inc_extra="$_inc_extra $_inc_x11"
   _def_x11='#define HAVE_X11 1'
   _vosrc="$_vosrc x11_common.c vo_x11.c vo_xover.c"
   _vomodules="x11 xover $_vomodules"



More information about the MPlayer-cvslog mailing list