diff options
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index f6ead58..1fa7472 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1478,9 +1478,12 @@ else | |||
1478 | fi | 1478 | fi |
1479 | 1479 | ||
1480 | AC_PATH_PROG(PATH_TO_QMAIL_QSTAT,qmail-qstat) | 1480 | AC_PATH_PROG(PATH_TO_QMAIL_QSTAT,qmail-qstat) |
1481 | if test -x "$PATH_TO_QMAIL_QSTAT" | 1481 | AC_ARG_WITH(qmail_qstat_command, |
1482 | ACX_HELP_STRING([--with-qmail-qstat-command=PATH], | ||
1483 | [sets path to qmail-qstat]), PATH_TO_QMAIL_QSTAT=$withval) | ||
1484 | if test -n "$PATH_TO_QMAIL_QSTAT" | ||
1482 | then | 1485 | then |
1483 | AC_DEFINE_UNQUOTED(PATH_TO_MAILQ,"$PATH_TO_QMAIL_QSTAT",[path to qmail-qstat]) | 1486 | AC_DEFINE_UNQUOTED(PATH_TO_QMAIL_QSTAT,"$PATH_TO_QMAIL_QSTAT",[path to qmail-qstat]) |
1484 | else | 1487 | else |
1485 | AC_MSG_WARN([Could not find qmail-qstat or eqivalent]) | 1488 | AC_MSG_WARN([Could not find qmail-qstat or eqivalent]) |
1486 | fi | 1489 | fi |