[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #KER-143836]: Env. Var. for the UDUNITS2 lib path_



Daniel,

> Would you also advise against using UDUNITS2_PATH (and construct include
> and lib path from that) as an alternative to setting CPPFLAGS and LIBS?

The environment variable UDUNITS2_PATH might not exist. The pathname of the
UDUNITS2 database is hard-coded into the UDUNITS2 library when it's built.
That pathname can be overridden via the environment variable UDUNITS2_PATH
-- but it doesn't have to be unless the UDUNITS2 installation is moved.

If the variable does exist, then it can be used to construct pathnames for
the UDUNITS2 header file and library.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: KER-143836
Department: Support UDUNITS
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.