Ensure that the automatic "CVS build" detection works for both

objdir == srcdir and objdir != srcdir.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27516 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2006-04-08 01:41:26 +00:00
parent 9273b0403e
commit 4ebf331851
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ dnl command line switches. When we build with a CVS directory, we get a
dnl debug with assertions turned on. Without, we assume a source release and we
dnl get an optimized build without assertions. See --enable-optimized and
dnl --enable-assertions below
if test -d "CVS" ; then
if test -d "CVS" -o -d "${srcdir}/CVS"; then
cvsbuild="yes"
optimize="no"
asserts="yes"

2
configure vendored
View File

@ -2968,7 +2968,7 @@ presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
esac
if test -d "CVS" ; then
if test -d "CVS" -o -d "${srcdir}/CVS"; then
cvsbuild="yes"
optimize="no"
asserts="yes"