summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-06-24 15:28:01 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-06-24 15:28:01 -0400
commitcd03d84ff0074d091f1c583d3b2c4471cfeab7d2 (patch)
treee503e2abd0f6eaf94d72b9f7b63daf8204b3d3be
parent9851827c99d060ccaee6bddaf7e93b8464a4c5f1 (diff)
configure.ac: separate out rootlibdir and rootlibexecdir
-rw-r--r--configure.ac15
1 files changed, 13 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index a0d32886a9..0fefedf06b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -119,6 +119,15 @@ AC_ARG_WITH(
[with_rootlibdir=${libdir}]
)
+AC_ARG_WITH(
+ [rootlibexecdir],
+ [AS_HELP_STRING(
+ [--with-rootlibexecdir=DIR],
+ [Root directory for libexecs necessary for boot])],
+ [],
+ [with_rootlibexecdir=${with_rootlibdir}/udev]
+)
+
AC_ARG_ENABLE(
[split-usr],
[AS_HELP_STRING(
@@ -139,7 +148,8 @@ AS_IF(
# Configured paths
AC_SUBST([rootprefix], [$with_rootprefix])
AC_SUBST([rootlibdir], [$with_rootlibdir])
-AC_SUBST([udevlibexecdir], [${rootlibdir}/udev])
+AC_SUBST([rootlibexecdir], [${with_rootlibexecdir}])
+AC_SUBST([udevlibexecdir], [${rootlibexecdir}])
# sysconfdir paths
AC_SUBST([udevconfdir],[${sysconfdir}/udev])
@@ -393,13 +403,14 @@ AC_MSG_RESULT([
rootprefix: ${rootprefix}
rootlibdir: ${rootlibdir}
- udevlibexecdir: ${udevlibexecdir}
+ rootlibexecdir: ${rootlibexecdir}
datarootdir: ${datarootdir}
udevconfdir: ${udevconfdir}
udevconffile: ${udevconffile}
udevhwdbdir: ${udevhwdbdir}
udevhwdbbin: ${udevhwdbbin}
+ udevlibexecdir: ${udevlibexecdir}
udevkeymapdir: ${udevkeymapdir}
udevkeymapforceredir: ${udevkeymapforceredir}
udevrulesdir: ${udevrulesdir}