summaryrefslogtreecommitdiffstats
path: root/imap/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'imap/configure.ac')
-rw-r--r--imap/configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/imap/configure.ac b/imap/configure.ac
index 0d84dc6..2931cf3 100644
--- a/imap/configure.ac
+++ b/imap/configure.ac
@@ -68,6 +68,11 @@ AC_ARG_WITH(mailer,
)
AC_SUBST(SENDMAIL)
+AC_ARG_ENABLE(root-check, [ --disable-root-check Allow build as root (make check will fail)],
+ rootcheck="$enableval",
+ rootcheck="yes")
+AC_SUBST(rootcheck)
+
OPENSSL_PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin
AC_PATH_PROGS(OPENSSL, openssl, , $OPENSSL_PATH)