Re:How to Write Portable C Without Complicating Your Build
by derefr on Friday March 31, 2017 @02:54PM
(#14006939)
This was my own thought when reading the article: how exactly do you use pkg-config to find libs+headers without autotools (or at least an m4 processing step)?
[ Parent
| on HN ]
Re:How to Write Portable C Without Complicating Your Build
by hp on Friday March 31, 2017 @03:00PM
(#14007005)
You can run pkg-config yourself, the m4 macros are just for convenience. Look at the shell the macros expand to to see how to do it.
Though I don't see the point in reinventing your own build system, exactly. Some people I trust seem to be getting into Meson these days but I havent tried it.