]> andersk Git - openssh.git/blobdiff - configure.in
- Substitute PID directory in sshd.8. Suggestion from Andrew
[openssh.git] / configure.in
index e7524cd62f5ecbdbdc435d84ec025e36aebdb2d5..b356beb5921d3a58af890cbaf5607d8c0fa032ac 100644 (file)
@@ -661,14 +661,17 @@ AC_ARG_WITH(default-path,
        ]
 )
 
+piddir=/var/run
 AC_ARG_WITH(pid-dir,
        [  --with-pid-dir=PATH     Specify location of ssh.pid file],
        [
                if test "x$withval" != "xno" ; then     
-                       AC_DEFINE_UNQUOTED(PID_DIR, "$withval")
+                       piddir=$withval
                fi
        ]
 )
+AC_DEFINE_UNQUOTED(PID_DIR, "$piddir")
+AC_SUBST(piddir)
 
 dnl Check for mail directory (last resort if we cannot get it from headers)
 if test ! -z "$MAIL" ; then
This page took 0.091496 seconds and 4 git commands to generate.