mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 19:49:36 +00:00
Fix autoconf llvm srcdir location for generic projects.
Patch by Torvald Riegel! llvm-svn: 94405
This commit is contained in:
parent
1df52e7d6a
commit
843b717a91
@ -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"])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user