Fix autoconf llvm srcdir location for generic projects.
authorEric Christopher <echristo@apple.com>
Mon, 25 Jan 2010 04:10:28 +0000 (04:10 +0000)
committerEric Christopher <echristo@apple.com>
Mon, 25 Jan 2010 04:10:28 +0000 (04:10 +0000)
Patch by Torvald Riegel!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94405 91177308-0d34-0410-b5e6-96231b3b80d8

projects/sample/autoconf/configure.ac

index 37c93a8f51529f9a219e5eb2e57d050f21fdf745..221dcc45edc0df7f657ce272838d896e8773104a 100644 (file)
@@ -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"])