summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 7338315607..c7da2f2dd0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6799,7 +6799,6 @@ DISTCHECK_CONFIGURE_FLAGS = \
--with-pamlibdir=$$dc_install_base/$(pamlibdir) \
--with-pamconfdir=$$dc_install_base/$(pamconfdir) \
--with-rootprefix=$$dc_install_base \
- --disable-split-usr \
--enable-kdbus \
--enable-compat-libs
@@ -6823,6 +6822,14 @@ DISTCHECK_CONFIGURE_FLAGS += \
--enable-gtk-doc
endif
+if ENABLE_SPLIT_USR
+DISTCHECK_CONFIGURE_FLAGS += \
+ --enable-split-usr
+else
+DISTCHECK_CONFIGURE_FLAGS += \
+ --disable-split-usr
+endif
+
#
# Require python when making dist
#