summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2015-02-28 19:43:20 +0000
committerNick Lewycky <nicholas@mxc.ca>2015-02-28 19:43:20 +0000
commit0d2931f1cbc85cb78e2f3760535c9c9102d84033 (patch)
treee498b7b4083d4359553e3e31aaee8aecb6aad6ab
parent8d25e3a83205918688ecec526b6d41f61b6f4500 (diff)
Revert r230812. Do not break builds for no reason.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230862 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--autoconf/configure.ac5
-rwxr-xr-xconfigure6
2 files changed, 0 insertions, 11 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 807de559036..e0bc78310c9 100644
--- a/autoconf/configure.ac
+++ b/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/configure b/configure
index 29437550f0d..cac9bf6533a 100755
--- a/configure
+++ b/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=}