summaryrefslogtreecommitdiffstats
path: root/src/conf_macros.m4
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_macros.m4')
-rw-r--r--src/conf_macros.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/src/conf_macros.m4 b/src/conf_macros.m4
index c79692ef..a54dd7f0 100644
--- a/src/conf_macros.m4
+++ b/src/conf_macros.m4
@@ -424,6 +424,20 @@ AC_DEFUN([WITH_SUDO],
AM_CONDITIONAL([BUILD_SUDO], [test x"$with_sudo" = xyes])
])
+AC_DEFUN([WITH_SUDO_LIB_PATH],
+ [ AC_ARG_WITH([sudo-lib-path],
+ [AC_HELP_STRING([--with-sudo-lib-path=<path>],
+ [Path to the sudo library [/usr/lib/]]
+ )
+ ]
+ )
+ sudolibpath="${libdir}"
+ if test x"$with_sudo_lib_path" != x; then
+ sudolibpath=$with_sudo_lib_path
+ fi
+ AC_SUBST(sudolibpath)
+ ])
+
AC_DEFUN([WITH_AUTOFS],
[ AC_ARG_WITH([autofs],
[AC_HELP_STRING([--with-autofs],