diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-04-08 01:41:26 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-04-08 01:41:26 +0000 |
commit | 4ebf331851f6ab6f907bbce451ef23b5ab66b736 (patch) | |
tree | 4b83cf6fa29bb3a49c445e3c414cf45a1331dba9 /autoconf | |
parent | 9273b0403e992bbdf4f9e7c48f990c7658610b8a (diff) | |
download | external_llvm-4ebf331851f6ab6f907bbce451ef23b5ab66b736.zip external_llvm-4ebf331851f6ab6f907bbce451ef23b5ab66b736.tar.gz external_llvm-4ebf331851f6ab6f907bbce451ef23b5ab66b736.tar.bz2 |
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
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index ec25ff8..fee1c2c 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -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" |