Make the symbolic link using the correct variable!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19136 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 09d31c9..cd42770 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -153,10 +153,10 @@
     ;;
 esac
 
-dnl Make a link from lib/System/platform to lib/System/$llvm_cv_platform_type
+dnl Make a link from lib/System/platform to lib/System/$llvm_cv_os_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/$llvm_cv_platform_type)
+AC_CONFIG_LINKS(lib/System/platform:lib/System/$llvm_cv_os_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 94e5706..4c726e2 100755
--- a/configure
+++ b/configure
@@ -1764,7 +1764,7 @@
     ;;
 esac
 
-          ac_config_links="$ac_config_links lib/System/platform:lib/System/$llvm_cv_platform_type"
+          ac_config_links="$ac_config_links lib/System/platform:lib/System/$llvm_cv_os_type"
 
 
 case $target in
@@ -30321,7 +30321,7 @@
   "tools/llvmc/ll" ) CONFIG_FILES="$CONFIG_FILES tools/llvmc/ll" ;;
   "tools/llvmc/c" ) CONFIG_FILES="$CONFIG_FILES tools/llvmc/c" ;;
   "docs/doxygen.cfg" ) CONFIG_FILES="$CONFIG_FILES docs/doxygen.cfg" ;;
-  "lib/System/platform" ) CONFIG_LINKS="$CONFIG_LINKS lib/System/platform:lib/System/$llvm_cv_platform_type" ;;
+  "lib/System/platform" ) CONFIG_LINKS="$CONFIG_LINKS lib/System/platform:lib/System/$llvm_cv_os_type" ;;
   "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
   "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
   "examples/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS examples/Makefile" ;;