Remove error output from configure if CFLAGS is set (r174313).

This fixes PR16724.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191289 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Patrik Hagglund 2013-09-24 11:38:45 +00:00
parent ecf0fcd2b1
commit d4bf7a3853
2 changed files with 4 additions and 4 deletions

View File

@ -61,8 +61,8 @@ fi
dnl Default to empty (i.e. assigning the null string to) CFLAGS and CXXFLAGS, 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). dnl instead of the autoconf default (for example, '-g -O2' for CC=gcc).
${CFLAGS=} : ${CFLAGS=}
${CXXFLAGS=} : ${CXXFLAGS=}
dnl We need to check for the compiler up here to avoid anything else dnl We need to check for the compiler up here to avoid anything else
dnl starting with a different one. dnl starting with a different one.

4
configure vendored
View File

@ -1992,8 +1992,8 @@ echo "$as_me: error: Already configured in ${srcdir}" >&2;}
fi fi
fi fi
${CFLAGS=} : ${CFLAGS=}
${CXXFLAGS=} : ${CXXFLAGS=}
ac_ext=c ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_cpp='$CPP $CPPFLAGS'