[llvm-commits] [llvm] r68187 - /llvm/trunk/autoconf/configure.ac

Tanya Lattner lattner at apple.com
Tue Apr 7 10:44:22 PDT 2009


Regenerate configure?

On Mar 31, 2009, at 9:39 PM, Nick Lewycky wrote:

> Author: nicholas
> Date: Tue Mar 31 23:39:25 2009
> New Revision: 68187
>
> URL: http://llvm.org/viewvc/llvm-project?rev=68187&view=rev
> Log:
> Detect that we're building from a git checkout like we do for cvs  
> and svn.
> Based on a patch by Nicolas Trangez on the unladen-swallow mailing  
> list!
>
> Modified:
>    llvm/trunk/autoconf/configure.ac
>
> Modified: llvm/trunk/autoconf/configure.ac
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/autoconf/configure.ac?rev=68187&r1=68186&r2=68187&view=diff
>
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- llvm/trunk/autoconf/configure.ac (original)
> +++ llvm/trunk/autoconf/configure.ac Tue Mar 31 23:39:25 2009
> @@ -255,13 +255,13 @@
>   AC_SUBST(LLVM_CROSS_COMPILING, [0])
> fi
>
> -dnl Check to see if there's a "CVS" (or .svn) directory indicating  
> that this
> -dnl build is being done from a checkout. This sets up several  
> defaults for the
> -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" -o -d "${srcdir}/CVS" -o -d ".svn" -o -d "$ 
> {srcdir}/.svn"; then
> +dnl Check to see if there's a "CVS" (or .svn or .git) directory  
> indicating
> +dnl that this build is being done from a checkout. This sets up  
> several
> +dnl defaults for the command line switches. When we build with a  
> CVS directory,
> +dnl we get a debug with assertions turned on. Without, we assume a  
> source
> +dnl release and we get an optimized build without assertions.
> +dnl See --enable-optimized and --enable-assertions below
> +if test -d "CVS" -o -d "${srcdir}/CVS" -o -d ".svn" -o -d "$ 
> {srcdir}/.svn" -o -d ".git" -o -d "${srcdir}/.git"; then
>   cvsbuild="yes"
>   optimize="no"
>   AC_SUBST(CVSBUILD,[[CVSBUILD=1]])
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090407/c8ef677b/attachment.html>


More information about the llvm-commits mailing list