diff options
author | Eric Christopher <echristo@apple.com> | 2010-01-25 04:10:28 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-01-25 04:10:28 +0000 |
commit | 4b1114aa46e09ed61733ec93cfe29acdd6f4d0af (patch) | |
tree | 7303b590df31fd13eb1fec730828c7f34a9a783a /projects/sample | |
parent | 473d2db15ef81ae8c07079ea3f9721a150f212e9 (diff) | |
download | external_llvm-4b1114aa46e09ed61733ec93cfe29acdd6f4d0af.zip external_llvm-4b1114aa46e09ed61733ec93cfe29acdd6f4d0af.tar.gz external_llvm-4b1114aa46e09ed61733ec93cfe29acdd6f4d0af.tar.bz2 |
Fix autoconf llvm srcdir location for generic projects.
Patch by Torvald Riegel!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects/sample')
-rw-r--r-- | projects/sample/autoconf/configure.ac | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/projects/sample/autoconf/configure.ac b/projects/sample/autoconf/configure.ac index 37c93a8..221dcc4 100644 --- a/projects/sample/autoconf/configure.ac +++ b/projects/sample/autoconf/configure.ac @@ -6,14 +6,15 @@ AC_INIT([[[SAMPLE]]],[[[x.xx]]],[bugs@yourdomain]) dnl Identify where LLVM source tree is LLVM_SRC_ROOT="../../" LLVM_OBJ_ROOT="../../" -dnl Tell autoconf that the auxilliary files are actually located in -dnl the LLVM autoconf directory, not here. -AC_CONFIG_AUX_DIR($LLVM_SRC_ROOT/autoconf) dnl Tell autoconf that this is an LLVM project being configured dnl This provides the --with-llvmsrc and --with-llvmobj options LLVM_CONFIG_PROJECT($LLVM_SRC_ROOT,$LLVM_OBJ_ROOT) +dnl Tell autoconf that the auxilliary files are actually located in +dnl the LLVM autoconf directory, not here. +AC_CONFIG_AUX_DIR($LLVM_SRC/autoconf) + dnl Verify that the source directory is valid AC_CONFIG_SRCDIR(["Makefile.common.in"]) |