diff options
| author | Nick Lewycky <nicholas@mxc.ca> | 2015-02-28 19:43:20 +0000 |
|---|---|---|
| committer | Nick Lewycky <nicholas@mxc.ca> | 2015-02-28 19:43:20 +0000 |
| commit | 79a8c4b0cd0bd96b3ade9bb86aacb2811ca071cc (patch) | |
| tree | 9d058d94ba97be7b6e5bb5d910844854acfb8cd0 | |
| parent | 04f0f5ba61bcd4a0341019cec3d3827bb0fef779 (diff) | |
Revert r230812. Do not break builds for no reason.
llvm-svn: 230862
| -rw-r--r-- | llvm/autoconf/configure.ac | 5 | ||||
| -rwxr-xr-x | llvm/configure | 6 |
2 files changed, 0 insertions, 11 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac index 807de5590360..e0bc78310c90 100644 --- a/llvm/autoconf/configure.ac +++ b/llvm/autoconf/configure.ac @@ -73,11 +73,6 @@ if test ${srcdir} != "." ; then fi fi -dnl Quit if it is an in-source build -if test ${srcdir} == "." ; then - AC_MSG_ERROR([In-source builds are discouraged. Configure from a separate build directory.]) -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=} diff --git a/llvm/configure b/llvm/configure index 29437550f0d2..cac9bf6533af 100755 --- a/llvm/configure +++ b/llvm/configure @@ -1999,12 +1999,6 @@ echo "$as_me: error: Already configured in ${srcdir}" >&2;} fi fi -if test ${srcdir} == "." ; then - { { echo "$as_me:$LINENO: error: In-source builds are discouraged. Configure from a separate build directory." >&5 -echo "$as_me: error: In-source builds are discouraged. Configure from a separate build directory." >&2;} - { (exit 1); exit 1; }; } -fi - : ${CFLAGS=} : ${CXXFLAGS=} |
