[GRASS-dev] [GRASS GIS] #1943: configure.in: LOC_CHECK_LIB_PATH() does nothing?
GRASS GIS
trac at osgeo.org
Tue Apr 23 16:29:30 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 glynn):
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...
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.
It doesn't check for the existence or validity of a specific library; it
just validates the directories specified with the --with-<package>-libs=
switch. It can't check the validity of a library, as the arguments don't
include the actual link name of a library (the first argument specifies
the name of the switch, the second argument is the name to be printed in
the "Checking ...." message).
Use LOC_CHECK_LIBS or LOC_CHECK_FUNC to check for the validity of
particular libraries.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1943#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list