Commit dff63a23 authored by Guillem Jover's avatar Guillem Jover Committed by Kristian H. Kristensen

build: Set a default aux dir

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's avatarGuillem Jover <guillem@hadrons.org>
parent bece0ee7
...@@ -12,20 +12,14 @@ cscope.out ...@@ -12,20 +12,14 @@ cscope.out
.libs .libs
/aclocal.m4 /aclocal.m4
/autom4te.cache /autom4te.cache
/compile /build-aux/
/config.guess
/config.h /config.h
/config.h.in /config.h.in
/config.log /config.log
/config.mk /config.mk
/config.status /config.status
/config.sub
/configure /configure
/depcomp
/install-sh
/libtool /libtool
/ltmain.sh
/missing
/stamp-h1 /stamp-h1
/test-driver /test-driver
/weston.ini /weston.ini
......
...@@ -16,6 +16,7 @@ AC_SUBST([WESTON_VERSION_MINOR], [weston_minor_version]) ...@@ -16,6 +16,7 @@ AC_SUBST([WESTON_VERSION_MINOR], [weston_minor_version])
AC_SUBST([WESTON_VERSION_MICRO], [weston_micro_version]) AC_SUBST([WESTON_VERSION_MICRO], [weston_micro_version])
AC_SUBST([WESTON_VERSION], [weston_version]) AC_SUBST([WESTON_VERSION], [weston_version])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([config.h]) AC_CONFIG_HEADERS([config.h])
AC_USE_SYSTEM_EXTENSIONS AC_USE_SYSTEM_EXTENSIONS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment