# HG changeset patch # User reimar # Date 1165763446 0 # Node ID 7412d71880d5a048c74d7f04bf0428ae9751ac62 # Parent 866175d9c61bec3061d90229a8ed179d465d26a9 Add x11 include path only to _inc_extra if X11 is actually enabled. diff -r 866175d9c61b -r 7412d71880d5 configure --- a/configure Sun Dec 10 14:46:37 2006 +0000 +++ b/configure Sun Dec 10 15:10:46 2006 +0000 @@ -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"