llvm.org GIT mirror llvm / 34e0d32
Check for .svn directories too to determine if a debug build is appropriate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35595 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 12 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
234234 AC_SUBST(LLVM_CROSS_COMPILING, [0])
235235 fi
236236
237 dnl Check to see if there's a "CVS" directory indicating that this build is
238 dnl being done from a CVS checkout. This sets up several defaults for the
237 dnl Check to see if there's a "CVS" (or .svn) directory indicating that this
238 dnl build is being done from a checkout. This sets up several defaults for the
239239 dnl command line switches. When we build with a CVS directory, we get a
240240 dnl debug with assertions turned on. Without, we assume a source release and we
241241 dnl get an optimized build without assertions. See --enable-optimized and
242242 dnl --enable-assertions below
243 if test -d "CVS" -o -d "${srcdir}/CVS"; then
243 if test -d "CVS" -o -d "${srcdir}/CVS" -o -d ".svn" -o -d "${srcdir}/.svn"; then
244244 cvsbuild="yes"
245245 optimize="no"
246246 AC_SUBST(CVSBUILD,[[CVSBUILD=1]])