diff options
author | Damien Miller <djm@mindrot.org> | 1999-12-27 09:48:56 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-12-27 09:48:56 +1100 |
commit | 5a3e68382d3414b922af58a19196635d750581ca (patch) | |
tree | 2793f24954e3f857d010ce4d8bc44f821da1e2e6 /configure.in | |
parent | c0d739039807abaa7985112370b4c5f4e85e02d7 (diff) |
- Added --with-default-path to specify custom path for server
- Removed #ifdef trickery from acconfig.h into defines.h
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 6cfacd2db..17b392d8f 100644 --- a/configure.in +++ b/configure.in | |||
@@ -267,7 +267,7 @@ AC_EGREP_HEADER(syslen, utmpx.h, | |||
267 | 267 | ||
268 | dnl Look for lastlog location | 268 | dnl Look for lastlog location |
269 | AC_ARG_WITH(lastlog, | 269 | AC_ARG_WITH(lastlog, |
270 | [ --with-lastlog Location of lastlog file], | 270 | [ --with-lastlog=FILE Location of lastlog file], |
271 | [ | 271 | [ |
272 | if test "x$withval" = "xno" ; then | 272 | if test "x$withval" = "xno" ; then |
273 | AC_DEFINE(DISABLE_LASTLOG) | 273 | AC_DEFINE(DISABLE_LASTLOG) |
@@ -396,6 +396,15 @@ AC_ARG_WITH(ipaddr-display, | |||
396 | ] | 396 | ] |
397 | ) | 397 | ) |
398 | 398 | ||
399 | AC_ARG_WITH(path, | ||
400 | [ --with-default-path=PATH Specify default \$PATH environment for server], | ||
401 | [ | ||
402 | if test "x$withval" != "xno" ; then | ||
403 | AC_DEFINE_UNQUOTED(USER_PATH, $withval") | ||
404 | fi | ||
405 | ] | ||
406 | ) | ||
407 | |||
399 | dnl Check for mail directory (last resort if we cannot get it from headers) | 408 | dnl Check for mail directory (last resort if we cannot get it from headers) |
400 | if test ! -z "$MAIL" ; then | 409 | if test ! -z "$MAIL" ; then |
401 | maildir=`dirname $MAIL` | 410 | maildir=`dirname $MAIL` |