diff options
author | Maxim <kolmax94@gmail.com> | 2010-08-18 13:57:12 +0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-09-02 12:23:18 -0400 |
commit | 327127bb7fcc07f882209f029e14026de1b23c94 (patch) | |
tree | a78333e40fcfa145cb51ebd16fb50d7790d71a5b | |
parent | d921c1eba437662437847279f251a0a5d8f70127 (diff) | |
download | sssd-327127bb7fcc07f882209f029e14026de1b23c94.tar.gz sssd-327127bb7fcc07f882209f029e14026de1b23c94.tar.bz2 sssd-327127bb7fcc07f882209f029e14026de1b23c94.zip |
Add gentoo-specific init dir
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | src/conf_macros.m4 | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e4fc849f..9405de14 100644 --- a/configure.ac +++ b/configure.ac @@ -69,6 +69,9 @@ AC_ARG_ENABLE([pammoddir], [AS_HELP_STRING([--enable-pammoddir], [pammoddir=$libdir/security]) AC_SUBST(pammoddir) +#Include here cause WITH_INIT_DIR requires $osname set in platform.m4 +m4_include([src/external/platform.m4]) + m4_include(src/conf_macros.m4) WITH_DB_PATH WITH_PLUGIN_PATH @@ -87,7 +90,6 @@ WITH_NSCD WITH_SEMANAGE WITH_LIBNL -m4_include([src/external/platform.m4]) m4_include([src/external/pkg.m4]) m4_include([src/external/libpopt.m4]) m4_include([src/external/libtalloc.m4]) diff --git a/src/conf_macros.m4 b/src/conf_macros.m4 index cb4b3255..5898bc7f 100644 --- a/src/conf_macros.m4 +++ b/src/conf_macros.m4 @@ -108,6 +108,9 @@ AC_DEFUN([WITH_INIT_DIR], ] ) initdir="${sysconfdir}/rc.d/init.d" + if test x$osname == xgentoo; then + initdir="${sysconfdir}/init.d" + fi if test x"$with_init_dir" != x; then initdir=$with_init_dir fi |