[PATCH] D12642: Improve portability, fix build issue on NetBSD

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 12 09:31:56 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL247512: Don't use bashism/kshism of test ==. From Kamil Rytarowski. (authored by joerg).

Changed prior to commit:
  http://reviews.llvm.org/D12642?vs=34066&id=34629#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D12642

Files:
  llvm/trunk/autoconf/configure.ac
  llvm/trunk/configure

Index: llvm/trunk/configure
===================================================================
--- llvm/trunk/configure
+++ llvm/trunk/configure
@@ -2033,7 +2033,7 @@
   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; }; }
Index: llvm/trunk/autoconf/configure.ac
===================================================================
--- llvm/trunk/autoconf/configure.ac
+++ llvm/trunk/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.34629.patch
Type: text/x-patch
Size: 930 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150912/bd21c0bb/attachment.bin>


More information about the llvm-commits mailing list