Remove error output from configure if CFLAGS is set (r174313).
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>
Tue, 24 Sep 2013 11:38:45 +0000 (11:38 +0000)
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>
Tue, 24 Sep 2013 11:38:45 +0000 (11:38 +0000)
This fixes PR16724.

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

autoconf/configure.ac
configure

index f9c365cb1c3cf2bc7a814127db0eba4a8556dfdb..45f2fe485ec1c768fc145a98e464fb3aeef71804 100644 (file)
@@ -61,8 +61,8 @@ fi
 
 dnl Default to empty (i.e. assigning the null string to) CFLAGS and CXXFLAGS,
 dnl instead of the autoconf default (for example, '-g -O2' for CC=gcc).
-${CFLAGS=}
-${CXXFLAGS=}
+${CFLAGS=}
+${CXXFLAGS=}
 
 dnl We need to check for the compiler up here to avoid anything else
 dnl starting with a different one.
index f3a6594963b23261a7d0dcde3afdb5034ff4da28..9090cdab5a58c59441b9b17c45772c785b5148c5 100755 (executable)
--- a/configure
+++ b/configure
@@ -1992,8 +1992,8 @@ echo "$as_me: error: Already configured in ${srcdir}" >&2;}
   fi
 fi
 
-${CFLAGS=}
-${CXXFLAGS=}
+${CFLAGS=}
+${CXXFLAGS=}
 
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'