changeset 19456:8e58b5ed5340

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
author diego
date Sun, 20 Aug 2006 10:01:18 +0000
parents 60c71a89cd76
children 494617fb460b
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"