[GRASS-dev] [GRASS GIS] #1943: configure.in: LOC_CHECK_LIB_PATH() does nothing?

GRASS GIS trac at osgeo.org
Tue Apr 23 19:26:23 PDT 2013


#1943: configure.in: LOC_CHECK_LIB_PATH() does nothing?
--------------------------+-------------------------------------------------
 Reporter:  hamish        |       Owner:  grass-dev@…              
     Type:  defect        |      Status:  new                      
 Priority:  normal        |   Milestone:  7.0.0                    
Component:  Compiling     |     Version:  svn-trunk                
 Keywords:  configure.in  |    Platform:  Linux                    
      Cpu:  x86-64        |  
--------------------------+-------------------------------------------------

Comment(by hamish):

 > Replying to [ticket:1943 hamish]:
 > > AFAICT the LOC_CHECK_LIB_PATH() checks in configure.in doesn't
 > > actually do anything beyond print a message to the log saying:
 > >  checking for location of Whatever library...

 Replying to [comment:1 glynn]:
 > It prints a message, checks that that the specified directories
 > exist, and either adds appropriate -L switches to the variable
 > specified by the third argument or (if any specified directory
 > doesn't exist) generates an error.

 Thanks for the detailed answer, I've had trouble finding the docs online..
 however..

 I've got the general idea of what it's supposed to do, the trouble is
 (AFAICT) is that it isn't doing it.  It isn't doing anything beyond
 printing the "Checking ..." message.

 Thus the made up
 {{{
     LOC_CHECK_LIB_PATH(foo,bar,BAZPATH)
 }}}

 still passes the test, and the variable in the third argument isn't
 getting populated with the contents of the --with-xx-libs= string.

 i.e., AFAICT, it's broken in multiple ways.


 Hamish

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



More information about the grass-dev mailing list