--- MPlayer-1.0rc1/configure.old 2006-11-21 02:13:10.000000000 +0100 +++ MPlayer-1.0rc1/configure 2006-11-21 02:13:20.000000000 +0100 @@ -3806,6 +3806,9 @@ fi done #FIXME: This is ugly as it can duplicate a -I parameter.. + if test "$_inc_x11" = "-I/usr/include" ; then + _inc_x11="" + fi _inc_extra="$_inc_extra $_inc_x11" if test -z "$_inc_x11" ; then _x11=no