[PATCH:xcb/util] Update autogen.sh to one that does builddir != srcdir

Jeremy Huddleston jeremyhu at apple.com
Tue Oct 20 12:29:57 PDT 2009


Shouldn't we be nuking all the "--enable-maintainer-mode" in  
autogen.sh now... or do we still want to support the older  
toolchains?  I thought I saw a commit fly by a few days ago nuking  
that from a module.

On Oct 20, 2009, at 10:17, Jon TURNEY wrote:

> ---
> autogen.sh |   11 ++++++++++-
> 1 files changed, 10 insertions(+), 1 deletions(-)
>
> diff --git a/autogen.sh b/autogen.sh
> index d68a142..904cd67 100755
> --- a/autogen.sh
> +++ b/autogen.sh
> @@ -1,3 +1,12 @@
> #! /bin/sh
> +
> +srcdir=`dirname $0`
> +test -z "$srcdir" && srcdir=.
> +
> +ORIGDIR=`pwd`
> +cd $srcdir
> +
> autoreconf -v --install || exit 1
> -./configure "$@"
> +cd $ORIGDIR || exit $?
> +
> +$srcdir/configure --enable-maintainer-mode "$@"
> -- 
> 1.6.3.3
>
> _______________________________________________
> xorg-devel mailing list
> xorg-devel at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5820 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20091020/28dbdbb4/attachment.bin 


More information about the xorg-devel mailing list