diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2015-05-29 07:39:53 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2015-05-29 16:40:41 +0200 |
commit | 2fe9e87a2475d5c2f5e2bb1a7e711c59fd0b2c6d (patch) | |
tree | 18c7e685afa6cc1cbfa61f860dacf529acb893d3 /configure.ac | |
parent | 144b1b4b34b6ae20a690e31c3d14dbb96341448b (diff) |
build-sys: pass originally configured --enable-split-usr to distcheck
Previously we always ran distcheck with --disable-split-usr. This caused
test-path-util to fail with
Assertion 'fsck_exists("minix") == 0' failed at ../src/test/test-path-util.c:224, function test_fsck_exists(). Aborting.
as looking up fsck.minix would only look into DEFAULT_PATH_NORMAL, but on these
systems fsck is in /sbin/.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e46ca45ddb..92654a644a 100644 --- a/configure.ac +++ b/configure.ac @@ -1433,6 +1433,7 @@ AC_SUBST(DEFAULT_DKR_INDEX_URL) AS_IF([test "x${enable_split_usr}" = "xyes"], [ AC_DEFINE(HAVE_SPLIT_USR, 1, [Define if /bin, /sbin aren't symlinks into /usr]) ]) +AM_CONDITIONAL(ENABLE_SPLIT_USR, [test "x${enable_split_usr}" = "xyes"]) # Work around intltoolize and gtk-doc problems in VPATH builds AM_CONDITIONAL([ENABLE_GTK_DOC_TESTS], [test "x$0" = "x./configure"], |