Don't use bashism/kshism of test ==. From Kamil Rytarowski.

Differential Revision: http://reviews.llvm.org/D12642

llvm-svn: 247512
This commit is contained in:
Joerg Sonnenberger 2015-09-12 16:30:32 +00:00
parent 2fcfef542a
commit 737e7d68bc
2 changed files with 2 additions and 2 deletions

View File

@ -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

2
llvm/configure vendored
View File

@ -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; }; }