[LLVMdev] llvm autoconf using LLVM_SRC_ROOT?

Eric Christopher echristo at apple.com
Fri Nov 5 14:52:22 PDT 2010


On Nov 4, 2010, at 7:35 PM, Shaun savage wrote:

> I am trying to create a new LLVM project that uses autoconf to configure it. 
> 
> the example requires me to define 
> 
> 	• LLVM_SRC_ROOT - The root of the LLVM source tree.
> 	• LLVM_OBJ_ROOT - The root of the LLVM object tree
> Is this required?  Why?  I just want to use the libraries that were installed using Ubuntu 10.04.

Not unless you want to build it as part of the llvm sources.

AC_CHECK_LIB is what you probably want.

http://www.gnu.org/software/hello/manual/autoconf/Libraries.html

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101105/20e5f30b/attachment.html>


More information about the llvm-dev mailing list