summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2014-02-01 17:48:43 (GMT)
committerKristian Høgsberg <krh@bitplanet.net>2014-02-02 06:12:10 (GMT)
commitdff63a2300ec2fb37fdf53d541567370406af38a (patch)
treeded61e9fe4c7121ee845c4e5f234004458444f6d
parentbece0ee726f6052625ba9dbd403189344392a7db (diff)
downloadweston-dff63a2300ec2fb37fdf53d541567370406af38a.tar.gz
weston-dff63a2300ec2fb37fdf53d541567370406af38a.tar.xz
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 <guillem@hadrons.org>
-rw-r--r--.gitignore8
-rw-r--r--configure.ac1
2 files changed, 2 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index 19ff60f..3909aa4 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 9862761..00d7123 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