[GRASS-dev] Re: [GRASS GIS] #1364: configure fails to detect X11 on OS X

GRASS GIS trac at osgeo.org
Wed May 18 19:43:06 EDT 2011


#1364: configure fails to detect X11 on OS X
----------------------------+-----------------------------------------------
 Reporter:  snorfalorpagus  |       Owner:  grass-dev@…              
     Type:  defect          |      Status:  new                      
 Priority:  normal          |   Milestone:                           
Component:  Compiling       |     Version:  unspecified              
 Keywords:                  |    Platform:  MacOSX                   
      Cpu:  OSX/Intel       |  
----------------------------+-----------------------------------------------

Comment(by kyngchaos):

 I don't have a problem detecting X11.  I've always specified --with-x,
 --x-includes and --x-libraries.  If you use --x-includes and
 --x-libraries, configure never gets to the parts to check for the
 existence of library files (where your patches apply), it just assumes
 you're right.

 {{{

 if test "x$with_x" = xno; then
   # The user explicitly disabled X.
   have_x=disabled
 else
   if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
     # Both variables are already set.
     have_x=yes
   else
 # check for libs and includes...
   fi
 fi
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1364#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list