aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-25 06:03:14 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-25 06:03:14 +0000
commitedd01b9ec548cdcea7d0a20ac9b2c3baf2895d29 (patch)
tree992f311cbd10e50c474279106e68b9ead68776ee
parent5e1d9a5f6e05e2b3c48ffd3932f0d8b6b82b9ee7 (diff)
Fix the lib/System/platform link by using proper cached variable name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18233 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--autoconf/configure.ac4
-rwxr-xr-xconfigure4
2 files changed, 4 insertions, 4 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 6c1f876297..8d4999aefb 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -121,10 +121,10 @@ dnl Set the "OS" Makefile variable based on the platform type so the
dnl makefile can configure itself to specific build hosts
AC_SUBST(OS,$llvm_cv_platform_type)
-dnl Make a link from lib/System/platform to lib/System/$platform_type
+dnl Make a link from lib/System/platform to lib/System/$llvm_cv_platform_type
dnl This helps the #inclusion of the system specific include files
dnl for the operating system abstraction library, lib/System.
-AC_CONFIG_LINKS(lib/System/platform:lib/System/$platform_type)
+AC_CONFIG_LINKS(lib/System/platform:lib/System/$llvm_cv_platform_type)
dnl If we are targetting a Sparc machine running Solaris, pretend that it is
dnl V9, since that is all that we support at the moment, and autoconf will only
diff --git a/configure b/configure
index 60bddff1c4..733154c7e6 100755
--- a/configure
+++ b/configure
@@ -1725,7 +1725,7 @@ fi
OS=$llvm_cv_platform_type
- ac_config_links="$ac_config_links lib/System/platform:lib/System/$platform_type"
+ ac_config_links="$ac_config_links lib/System/platform:lib/System/$llvm_cv_platform_type"
case $target in
@@ -26280,7 +26280,7 @@ do
"tools/llvmc/cpp" ) CONFIG_FILES="$CONFIG_FILES tools/llvmc/cpp" ;;
"tools/llvmc/ll" ) CONFIG_FILES="$CONFIG_FILES tools/llvmc/ll" ;;
"tools/llvmc/c" ) CONFIG_FILES="$CONFIG_FILES tools/llvmc/c" ;;
- "lib/System/platform" ) CONFIG_LINKS="$CONFIG_LINKS lib/System/platform:lib/System/$platform_type" ;;
+ "lib/System/platform" ) CONFIG_LINKS="$CONFIG_LINKS lib/System/platform:lib/System/$llvm_cv_platform_type" ;;
"Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
"Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
"examples/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS examples/Makefile" ;;