Revert r230812. Do not break builds for no reason.
authorNick Lewycky <nicholas@mxc.ca>
Sat, 28 Feb 2015 19:43:20 +0000 (19:43 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 28 Feb 2015 19:43:20 +0000 (19:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230862 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac
configure

index 807de5590360392dc6ad559033e0ea592cb0941f..e0bc78310c9016d9aaa2656e9b8c05836bad7f5f 100644 (file)
@@ -73,11 +73,6 @@ if test ${srcdir} != "." ; then
   fi
 fi
 
   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=}
 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=}
index 29437550f0d2f16af8aa33fb3f7e5f11df0dd1ff..cac9bf6533af0f393da122cfc629fb67c179aa5b 100755 (executable)
--- a/configure
+++ b/configure
@@ -1999,12 +1999,6 @@ echo "$as_me: error: Already configured in ${srcdir}" >&2;}
   fi
 fi
 
   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=}
 
 : ${CFLAGS=}
 : ${CXXFLAGS=}