Test for the existance of llvm, and make sure that it can be linked with the llvm-libs argument that is passed on to llvm-config i.e.:
llvm --libs <llvm-libs>
llvm-config will also include any libraries that are depended apon.
Download the latest version of ax_llvm.m4 or browse the macro’s revision history.
Copyright © 2008 Andy Kitchen firstname.lastname@example.org
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.