[PATCH 1/8] build-sys: Use configure cache by default in bootstrap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there anything (except spelling issues) against this patch?

Maarten

2011/11/2 Maarten Bosmans <mkbosmans at gmail.com>:
> This speeds up subsequent configure invokations
> ---
> ?.gitignore ? | ? ?1 +
> ?autogen.sh ? | ? ?2 +-
> ?bootstrap.sh | ? ?2 +-
> ?3 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/.gitignore b/.gitignore
> index 9290ad2..765642f 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -15,6 +15,7 @@ Makefile.in
> ?aclocal.m4
> ?autom4te.cache
> ?compile
> +config.cache
> ?config.guess
> ?config.h
> ?config.h.in
> diff --git a/autogen.sh b/autogen.sh
> index 4051a22..5a07251 100755
> --- a/autogen.sh
> +++ b/autogen.sh
> @@ -20,4 +20,4 @@
>
> ?NOCONFIGURE=1 ./bootstrap.sh
>
> -exec ./configure ?"$@"
> +exec ./configure -C "$@"
> diff --git a/bootstrap.sh b/bootstrap.sh
> index d0baf95..3e2bfab 100755
> --- a/bootstrap.sh
> +++ b/bootstrap.sh
> @@ -98,7 +98,7 @@ else
> ? ? run_versioned automake "$VERSION" --copy --foreign --add-missing
>
> ? ? if test "x$NOCONFIGURE" = "x"; then
> - ? ? ? ?CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --enable-force-preopen "$@"
> + ? ? ? ?CFLAGS="$CFLAGS -g -O0" ./configure -C --sysconfdir=/etc --localstatedir=/var --enable-force-preopen "$@"
> ? ? ? ? make clean
> ? ? fi
> ?fi
> --
> 1.7.4.1
>
>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux