On 24 March 2016 at 15:05, Russell Wallace <russell.wall...@gmail.com> wrote:
> I'm writing a C++ program that needs to compile and link with LLVM, and
> trying to figure out how to build it with autotools.
>
> The good news is, llvm-config will supply the relevant compiler and linker
> flags.

Is llvm-config hardcoded into configure.ac or Makefile.am, or is
configure being invoked like "./configure CC=llvm "CFLAGS=`llvm-config
--cflags`" or whatever it is? If it's the latter it should be easy to
give the path to the correct llvm-config.

_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to