Re: ax_lib_hdf5.m4: extra space in the include path flag
Peter Simons <[email protected]>
| Newsgroups | gmane.comp.sysutils.autoconf.archive-maintainers |
|---|---|
| Message-ID | <[email protected]> |
Hi Chun-Chung, > In the latest version of ax_lib_hdf5.m4 (serial 10), the code parsing > the output of h5cc for the "Installation point:" results in an extra > leading space. The space creeps into HDF5_CPPFLAGS and breaks the > include path flag into two tokens, e.g., "-I" and "/usr/include". While > this may be legal and doesn't affect the compilation, it does break some > library tools (e.g., when the macro is used in building a dynamic > library that uses pkg-config). Please see the attached patch for a > proposed fix for the situation. I applied your patch in commit: https://github.com/peti/autoconf-archive/commit/0312b57e9747fa616a4ffd38df0cbb8caef41c90 Thanks a lot for the submission! Peter