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

objdir == srcdir and objdir != srcdir.

llvm-svn: 27516
This commit is contained in:
Reid Spencer 2006-04-08 01:41:26 +00:00
parent c84c3d7c32
commit cfc429b2e8
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"