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