diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index e7524cd62..b356beb59 100644 --- a/configure.in +++ b/configure.in | |||
@@ -661,14 +661,17 @@ AC_ARG_WITH(default-path, | |||
661 | ] | 661 | ] |
662 | ) | 662 | ) |
663 | 663 | ||
664 | piddir=/var/run | ||
664 | AC_ARG_WITH(pid-dir, | 665 | AC_ARG_WITH(pid-dir, |
665 | [ --with-pid-dir=PATH Specify location of ssh.pid file], | 666 | [ --with-pid-dir=PATH Specify location of ssh.pid file], |
666 | [ | 667 | [ |
667 | if test "x$withval" != "xno" ; then | 668 | if test "x$withval" != "xno" ; then |
668 | AC_DEFINE_UNQUOTED(PID_DIR, "$withval") | 669 | piddir=$withval |
669 | fi | 670 | fi |
670 | ] | 671 | ] |
671 | ) | 672 | ) |
673 | AC_DEFINE_UNQUOTED(PID_DIR, "$piddir") | ||
674 | AC_SUBST(piddir) | ||
672 | 675 | ||
673 | dnl Check for mail directory (last resort if we cannot get it from headers) | 676 | dnl Check for mail directory (last resort if we cannot get it from headers) |
674 | if test ! -z "$MAIL" ; then | 677 | if test ! -z "$MAIL" ; then |