[PATCH] D12642: Improve portability, fix build issue on NetBSD
Kamil Rytarowski via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 4 13:19:35 PDT 2015
krytarowski created this revision.
krytarowski added a reviewer: joerg.
krytarowski added a subscriber: llvm-commits.
krytarowski set the repository for this revision to rL LLVM.
The "test" command, as well as the "[" command, are not required to know the "==" operator. Only a few implementations like bash and some versions of ksh support it.
Repository:
rL LLVM
http://reviews.llvm.org/D12642
Files:
autoconf/configure.ac
Index: autoconf/configure.ac
===================================================================
--- autoconf/configure.ac
+++ autoconf/configure.ac
@@ -74,7 +74,7 @@
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12642.34066.patch
Type: text/x-patch
Size: 385 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150904/c0c82432/attachment.bin>
More information about the llvm-commits
mailing list