Add target triple to include/llvm/Config/config.h.in. Regenerate all files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44478 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2007-12-01 00:34:39 +00:00
parent 57c4fc2e23
commit 790e11cdff
3 changed files with 74 additions and 66 deletions

View File

@@ -886,6 +886,8 @@ AC_DEFINE_UNQUOTED(LLVM_MANDIR, "$LLVM_MANDIR",
[Installation directory for man pages])
AC_DEFINE_UNQUOTED(LLVM_CONFIGTIME, "$LLVM_CONFIGTIME",
[Time at which LLVM was configured])
AC_DEFINE_UNQUOTED(LLVM_HOSTTRIPLE, "$host",
[Host triple we were built on])
# Determine which bindings to build.
if test "$BINDINGS_TO_BUILD" = auto ; then
@@ -984,4 +986,3 @@ AC_CONFIG_MAKEFILE(bindings/ocaml/Makefile.ocaml)
dnl Finally, crank out the output
AC_OUTPUT

6
configure vendored
View File

@@ -34161,6 +34161,11 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
cat >>confdefs.h <<_ACEOF
#define LLVM_HOSTTRIPLE "$host"
_ACEOF
# Determine which bindings to build.
if test "$BINDINGS_TO_BUILD" = auto ; then
BINDINGS_TO_BUILD=""
@@ -35781,4 +35786,3 @@ echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
done
fi

View File

@@ -458,6 +458,9 @@
/* Installation directory for config files */
#undef LLVM_ETCDIR
/* Host triple we were built on */
#undef LLVM_HOSTTRIPLE
/* Installation directory for include files */
#undef LLVM_INCLUDEDIR