# HG changeset patch # User diego # Date 1156068078 0 # Node ID 8e58b5ed53402621bb9bf5d258bf120fd5853891 # Parent 60c71a89cd76340e13e35ce1d21421ef3b821bdd The X11 header check looks in $_extra_inc that contains directories in the format "-I/opt/X11", which won't work when 'test' is used to find the headers. based on patch by Jan Knutar, jknutar (at) nic (dot) fi diff -r 60c71a89cd76 -r 8e58b5ed5340 configure --- a/configure Sat Aug 19 21:06:27 2006 +0000 +++ b/configure Sun Aug 20 10:01:18 2006 +0000 @@ -3720,7 +3720,7 @@ echocheck "X11 headers presence" - for I in $_inc_extra /usr/X11/include /usr/X11R6/include /usr/include/X11R6 /usr/include /usr/openwin/include ; do + for I in `echo $_inc_extra | sed s/-I//g` /usr/X11/include /usr/X11R6/include /usr/include/X11R6 /usr/include /usr/openwin/include ; do if test -f "$I/X11/Xlib.h" ; then _inc_x11="-I$I" _x11_headers="yes"