Many distributed packages supply <pkgname>-config binaries that will show needed compile-time flags and/or link-time flags. For example, netCDF provides nc-config:
$ nc-config --cflags # for compile-time flags
-I/usr/include -I/usr/include/hdf
$ nc-config --libs # for link-time flags
-lnetcdf
It would be nice to have an lrose-config to provide the same for LROSE, especially since the list of required libraries is changing pretty frequently. Having lrose-config would allow for builds which use LROSE to automatically get the correct flags and libraries, even if LROSE is updated and changed.
Note that I say the tool should be a 'binary', but it can be implemented in any way that is directly executable. Most likely lrose-config would be a sh or bash script.
Many distributed packages supply
<pkgname>-config
binaries that will show needed compile-time flags and/or link-time flags. For example, netCDF provides nc-config:It would be nice to have an
lrose-config
to provide the same for LROSE, especially since the list of required libraries is changing pretty frequently. Havinglrose-config
would allow for builds which use LROSE to automatically get the correct flags and libraries, even if LROSE is updated and changed.