aboutsummaryrefslogtreecommitdiffstats
path: root/autoconf
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2009-11-16 19:46:55 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2009-11-16 19:46:55 +0000
commit420d23c3d6c0fd0a5ec8f03acbbd222a377339da (patch)
tree7792207a56c1a951c965c5d47dc0feaf8d2bdec6 /autoconf
parent4adcade9b709a1c14d926951b56e84e6a97b2d19 (diff)
downloadexternal_llvm-420d23c3d6c0fd0a5ec8f03acbbd222a377339da.zip
external_llvm-420d23c3d6c0fd0a5ec8f03acbbd222a377339da.tar.gz
external_llvm-420d23c3d6c0fd0a5ec8f03acbbd222a377339da.tar.bz2
Add configure options for specifying where to look for libstdc++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88943 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac28
1 files changed, 28 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 27340c7..e125112 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -674,6 +674,34 @@ AC_ARG_WITH(c-include-dir,
AC_DEFINE_UNQUOTED(C_INCLUDE_DIRS,"$withval",
[Directories clang will search for headers])
+AC_ARG_WITH(cxx-include-root,
+ AS_HELP_STRING([--with-cxx-include-root],
+ [Directory with the libstdc++ headers.]),,
+ withval="")
+AC_DEFINE_UNQUOTED(CXX_INCLUDE_ROOT,"$withval",
+ [Directory with the libstdc++ headers.])
+
+AC_ARG_WITH(cxx-include-arch,
+ AS_HELP_STRING([--with-cxx-include-arch],
+ [Architecture of the libstdc++ headers.]),,
+ withval="")
+AC_DEFINE_UNQUOTED(CXX_INCLUDE_ARCH,"$withval",
+ [Arch the libstdc++ headers.])
+
+AC_ARG_WITH(cxx-include-32bit-dir,
+ AS_HELP_STRING([--with-cxx-include-32bit-dir],
+ [32 bit multilib dir.]),,
+ withval="")
+AC_DEFINE_UNQUOTED(CXX_INCLUDE_32BIT_DIR,"$withval",
+ [32 bit multilib directory.])
+
+AC_ARG_WITH(cxx-include-64bit-dir,
+ AS_HELP_STRING([--with-cxx-include-64bit-dir],
+ [64 bit multilib directory.]),,
+ withval="")
+AC_DEFINE_UNQUOTED(CXX_INCLUDE_64BIT_DIR,"$withval",
+ [64 bit multilib directory.])
+
dnl Allow linking of LLVM with GPLv3 binutils code.
AC_ARG_WITH(binutils-include,
AS_HELP_STRING([--with-binutils-include],