From c1a1b0464b5fad4daa9868b846182ad391f716a2 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 23 Apr 2009 22:07:05 +0200 Subject: Invoke shadow-utils in sss_ tools Make shadow-utils base path configurable Use default values for params, allow configuring them --- server/conf_macros.m4 | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'server/conf_macros.m4') diff --git a/server/conf_macros.m4 b/server/conf_macros.m4 index f6821e07..27006e6d 100644 --- a/server/conf_macros.m4 +++ b/server/conf_macros.m4 @@ -130,3 +130,16 @@ AC_DEFUN(WITH_INIT_DIR, ]) +AC_DEFUN(WITH_SHADOW_UTILS_PATH, + [ AC_ARG_WITH([shadow-utils-path], + [AC_HELP_STRING([--with-shadow-utils-path=PATH], + [Where to look for shadow-utils binaries [/usr/sbin]] + ) + ] + ) + shadow_utils_path="${sbindir}" + if test x"$with_shadow_utils_path" != x; then + shadow_utils_path=$with_shadow_utils_path + fi + AC_SUBST(shadow_utils_path) + ]) -- cgit