fix typo
authorSebastian Pop <spop@codeaurora.org>
Mon, 30 Apr 2012 20:06:58 +0000 (20:06 +0000)
committerSebastian Pop <spop@codeaurora.org>
Mon, 30 Apr 2012 20:06:58 +0000 (20:06 +0000)
Thanks to "Gabor Greif" <ggreif@gmail.com> for reporting this problem.

The configure flag should be --with-default-sysroot as documented, and
not --with-sysroot.  The reason we don't want to define --with-sysroot
is that GCC has a configure flag by that name and it has a different
semantics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155844 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac
configure

index 1da752dc68c29fbfed979024dab26f49bc82808f..e0663cdf92ddeac96db30200b3977f2170a3bfd1 100644 (file)
@@ -838,7 +838,7 @@ AC_ARG_WITH(gcc-toolchain,
 AC_DEFINE_UNQUOTED(GCC_INSTALL_PREFIX,"$withval",
                    [Directory where gcc is installed.])
 
-AC_ARG_WITH(sysroot,
+AC_ARG_WITH(default-sysroot,
   AS_HELP_STRING([--with-default-sysroot],
     [Add --sysroot=<path> to all compiler invocations.]),,
     withval="")
index 50db26c7c765f383de57ea5ce3cc2342115078f0..f72dca4dbf7360bc5b5224283e2c8f12a5f6baa1 100755 (executable)
--- a/configure
+++ b/configure
@@ -5584,9 +5584,9 @@ _ACEOF
 
 
 
-# Check whether --with-sysroot was given.
-if test "${with_sysroot+set}" = set; then
-  withval=$with_sysroot;
+# Check whether --with-default-sysroot was given.
+if test "${with_default_sysroot+set}" = set; then
+  withval=$with_default_sysroot;
 else
   withval=""
 fi