[llvm-commits] [llvm] r155844 - in /llvm/trunk: autoconf/configure.ac configure

Sebastian Pop spop at codeaurora.org
Mon Apr 30 13:06:58 PDT 2012


Author: spop
Date: Mon Apr 30 15:06:58 2012
New Revision: 155844

URL: http://llvm.org/viewvc/llvm-project?rev=155844&view=rev
Log:
fix typo

Thanks to "Gabor Greif" <ggreif at 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.

Modified:
    llvm/trunk/autoconf/configure.ac
    llvm/trunk/configure

Modified: llvm/trunk/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/autoconf/configure.ac?rev=155844&r1=155843&r2=155844&view=diff
==============================================================================
--- llvm/trunk/autoconf/configure.ac (original)
+++ llvm/trunk/autoconf/configure.ac Mon Apr 30 15:06:58 2012
@@ -838,7 +838,7 @@
 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="")

Modified: llvm/trunk/configure
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/configure?rev=155844&r1=155843&r2=155844&view=diff
==============================================================================
--- llvm/trunk/configure (original)
+++ llvm/trunk/configure Mon Apr 30 15:06:58 2012
@@ -5584,9 +5584,9 @@
 
 
 
-# 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





More information about the llvm-commits mailing list