diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2009-11-12 05:46:09 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2009-11-12 05:46:09 +0000 |
commit | 354924df7e9bffc35f8eccff8152c678f17a9885 (patch) | |
tree | 95a5bd16a3cb0bc6eb3de2eceea85e9ddf45a146 /autoconf | |
parent | 469f048845803a7e0a71fc315e6962f3978ff466 (diff) | |
download | external_llvm-354924df7e9bffc35f8eccff8152c678f17a9885.zip external_llvm-354924df7e9bffc35f8eccff8152c678f17a9885.tar.gz external_llvm-354924df7e9bffc35f8eccff8152c678f17a9885.tar.bz2 |
Add the --with-c-include-dirs to llvm's configure.
The clang patch is next.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86955 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 7d0a9bb..27340c7 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -667,6 +667,13 @@ case "$withval" in *) AC_MSG_ERROR([Invalid path for --with-ocaml-libdir. Provide full path]) ;; esac +AC_ARG_WITH(c-include-dir, + AS_HELP_STRING([--with-c-include-dirs], + [Colon separated list of directories clang will search for headers]),, + withval="") +AC_DEFINE_UNQUOTED(C_INCLUDE_DIRS,"$withval", + [Directories clang will search for headers]) + dnl Allow linking of LLVM with GPLv3 binutils code. AC_ARG_WITH(binutils-include, AS_HELP_STRING([--with-binutils-include], |