- Added --with-default-path to specify custom path for server
- Removed #ifdef trickery from acconfig.h into defines.h
diff --git a/configure.in b/configure.in
index 6cfacd2..17b392d 100644
--- a/configure.in
+++ b/configure.in
@@ -267,7 +267,7 @@
dnl Look for lastlog location
AC_ARG_WITH(lastlog,
- [ --with-lastlog Location of lastlog file],
+ [ --with-lastlog=FILE Location of lastlog file],
[
if test "x$withval" = "xno" ; then
AC_DEFINE(DISABLE_LASTLOG)
@@ -396,6 +396,15 @@
]
)
+AC_ARG_WITH(path,
+ [ --with-default-path=PATH Specify default \$PATH environment for server],
+ [
+ if test "x$withval" != "xno" ; then
+ AC_DEFINE_UNQUOTED(USER_PATH, $withval")
+ fi
+ ]
+)
+
dnl Check for mail directory (last resort if we cannot get it from headers)
if test ! -z "$MAIL" ; then
maildir=`dirname $MAIL`