summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2015-05-04 02:04:54 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2015-05-04 02:04:54 +0000
commit7dda4c92e4718c624e2bb91d8cf31685710c5f09 (patch)
tree9b42523548d5665afc559f9e70f86b8bf741ec5b /configure
parent82b7c1b25b7f8f6784bc1ffa0f1cee60d43012de (diff)
Deprecate in-source autotools builds
This is a followup from: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150323/268067.html Upgrade instructions: $ mv llvm/include/llvm/Config/config.h ./config.h.BACKUP # copy the configure line from line 7 of llvm/config.log # (for example: `$ ./configure --no-create --no-recursion`) $ mkdir build $ cd build # run the configure line, but this time with '../llvm' at the beginning: $ ../llvm/configure --no-create --no-recursion These warnings will soon be turned into hard errors after a week. Speak up now if this is going to be a problem for you. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236399 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure21
1 files changed, 21 insertions, 0 deletions
diff --git a/configure b/configure
index f51617639b3..37f3d7d95ae 100755
--- a/configure
+++ b/configure
@@ -2030,6 +2030,27 @@ echo "$as_me: error: Already configured in ${srcdir}" >&2;}
fi
fi
+if test ${srcdir} == "." ; then
+ { echo "$as_me:$LINENO: WARNING: **************************************************************************************" >&5
+echo "$as_me: WARNING: **************************************************************************************" >&2;}
+ { echo "$as_me:$LINENO: WARNING: * *" >&5
+echo "$as_me: WARNING: * *" >&2;}
+ { echo "$as_me:$LINENO: WARNING: * WARNING *" >&5
+echo "$as_me: WARNING: * WARNING *" >&2;}
+ { echo "$as_me:$LINENO: WARNING: * *" >&5
+echo "$as_me: WARNING: * *" >&2;}
+ { echo "$as_me:$LINENO: WARNING: * In-source builds are deprecated. *" >&5
+echo "$as_me: WARNING: * In-source builds are deprecated. *" >&2;}
+ { echo "$as_me:$LINENO: WARNING: * *" >&5
+echo "$as_me: WARNING: * *" >&2;}
+ { echo "$as_me:$LINENO: WARNING: * Please configure from a separate build directory! *" >&5
+echo "$as_me: WARNING: * Please configure from a separate build directory! *" >&2;}
+ { echo "$as_me:$LINENO: WARNING: * *" >&5
+echo "$as_me: WARNING: * *" >&2;}
+ { echo "$as_me:$LINENO: WARNING: **************************************************************************************" >&5
+echo "$as_me: WARNING: **************************************************************************************" >&2;}
+fi
+
: ${CFLAGS=}
: ${CXXFLAGS=}