summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-12-27 09:48:56 +1100
committerDamien Miller <djm@mindrot.org>1999-12-27 09:48:56 +1100
commit5a3e68382d3414b922af58a19196635d750581ca (patch)
tree2793f24954e3f857d010ce4d8bc44f821da1e2e6 /configure.in
parentc0d739039807abaa7985112370b4c5f4e85e02d7 (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.in11
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
268dnl Look for lastlog location 268dnl Look for lastlog location
269AC_ARG_WITH(lastlog, 269AC_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
399AC_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
399dnl Check for mail directory (last resort if we cannot get it from headers) 408dnl Check for mail directory (last resort if we cannot get it from headers)
400if test ! -z "$MAIL" ; then 409if test ! -z "$MAIL" ; then
401 maildir=`dirname $MAIL` 410 maildir=`dirname $MAIL`