Richard W.M. Jones <rjones(a)redhat.com> wrote:
In libguestfs we have some pretty complex autotools magic to deal
with
all this:
http://git.annexia.org/?p=libguestfs.git;a=blob;f=configure.ac;h=f1b56d2d...
CHASM has similar logic for CMake (also clang support):
http://git.benboeckel.net/?p=chasmd.git;a=blob;f=CMakeLists.txt
--Ben