Skip to content

Commit

Permalink
Don't use bashism/kshism of test ==. From Kamil Rytarowski.
Browse files Browse the repository at this point in the history
Differential Revision: http://reviews.llvm.org/D12642


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247512 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
jsonn committed Sep 12, 2015
1 parent 9114b92 commit 0f17418
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autoconf/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -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; }; }
Expand Down

0 comments on commit 0f17418

Please sign in to comment.