[PATCH weston] build: Set a default aux dir

Emilio Pozuelo Monfort pochu27 at gmail.com
Sat Feb 1 10:46:20 PST 2014


Looks good to me.

Reviewed-by: Emilio Pozuelo Monfort <emilio.pozuelo at collabora.co.uk>

On 01/02/14 18:48, Guillem Jover wrote:
> This moves all the auxiliary build scripts into a build-aux directory,
> and fixes an issue with configure being unable to find scripts because
> it tries to change to an empty directory to get the absolute path,
> which results in getting the path to the user's home directory instead.
> 
> ,--
> checking whether build environment is sane... yes
> /bin/bash: /home/user/missing: No such file or directory
> configure: WARNING: 'missing' script is too old or missing
> `---
> 
> Signed-off-by: Guillem Jover <guillem at hadrons.org>
> ---
>  .gitignore   | 8 +-------
>  configure.ac | 1 +
>  2 files changed, 2 insertions(+), 7 deletions(-)
> 
> diff --git a/.gitignore b/.gitignore
> index 111c56c..9ccac74 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -12,20 +12,14 @@ cscope.out
>  .libs
>  /aclocal.m4
>  /autom4te.cache
> -/compile
> -/config.guess
> +/build-aux/
>  /config.h
>  /config.h.in
>  /config.log
>  /config.mk
>  /config.status
> -/config.sub
>  /configure
> -/depcomp
> -/install-sh
>  /libtool
> -/ltmain.sh
> -/missing
>  /stamp-h1
>  /test-driver
>  /weston.ini
> diff --git a/configure.ac b/configure.ac
> index f190672..a9de41c 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -16,6 +16,7 @@ AC_SUBST([WESTON_VERSION_MINOR], [weston_minor_version])
>  AC_SUBST([WESTON_VERSION_MICRO], [weston_micro_version])
>  AC_SUBST([WESTON_VERSION], [weston_version])
>  
> +AC_CONFIG_AUX_DIR([build-aux])
>  AC_CONFIG_HEADERS([config.h])
>  
>  AC_USE_SYSTEM_EXTENSIONS
> 



More information about the wayland-devel mailing list