You need a monster like autoconf or CMake to do the grunt work of locating the large variety of (mostly GUI-related) libraries...
These days most popular libraries support pkg-config which makes this a whole lot simpler.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds