diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2015-09-12 16:30:32 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2015-09-12 16:30:32 +0000 |
commit | 0f17418ff930b7cdf5351280c13ba6a3afadb6ba (patch) | |
tree | f30a0b62c808d2ef780b84e1e8c431a7c42bdf56 | |
parent | 9114b92030fd934999b21912f16504ad33c353b5 (diff) |
Don't use bashism/kshism of test ==. From Kamil Rytarowski.
Differential Revision: http://reviews.llvm.org/D12642
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247512 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | autoconf/configure.ac | 2 | ||||
-rwxr-xr-x | configure | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index fb73e51df3f..a3cb05c44dc 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -74,7 +74,7 @@ if test ${srcdir} != "." ; then fi dnl Quit if it is an in-source build -if test ${srcdir} == "." ; then +if test ${srcdir} = "." ; then AC_MSG_ERROR([In-source builds are not allowed. Please configure from a separate build directory!]) fi diff --git a/configure b/configure index c895057ab07..5b15d122c07 100755 --- a/configure +++ b/configure @@ -2033,7 +2033,7 @@ echo "$as_me: error: Already configured in ${srcdir}" >&2;} fi fi -if test ${srcdir} == "." ; then +if test ${srcdir} = "." ; then { { echo "$as_me:$LINENO: error: In-source builds are not allowed. Please configure from a separate build directory!" >&5 echo "$as_me: error: In-source builds are not allowed. Please configure from a separate build directory!" >&2;} { (exit 1); exit 1; }; } |