summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorhmeland1999-05-23 10:29:01 +0000
committerhmeland1999-05-23 10:29:01 +0000
commit0ff91239775d3126e730690f87a05c0353b33684 (patch)
tree7dd8b83da4d10f4296681fcf1f4a1e582e431a83 /src/common.h
parent4f941e48519edca8dba1e67ef9bab63028f430ed (diff)
downloadmailman-0ff91239775d3126e730690f87a05c0353b33684.tar.gz
mailman-0ff91239775d3126e730690f87a05c0353b33684.tar.zst
mailman-0ff91239775d3126e730690f87a05c0353b33684.zip
Stole GNU sh-utils-1.16 configure.in code to check for syslog()
outside of the default libs. Ran autoconf (from autoconf-2.13) to update configure. src/common.[ch] now has #ifdefs around syslog-using code -- thus, Mailman will compile, but _without any syslog calls_ if configure couldn't find syslog().
Diffstat (limited to '')
-rw-r--r--src/common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index c963032f2..0db351754 100644
--- a/src/common.h
+++ b/src/common.h
@@ -19,7 +19,9 @@
#include <stdlib.h>
#include <stdarg.h>
+#ifdef HAVE_SYSLOG_H
#include <syslog.h>
+#endif /* HAVE_SYSLOG_H */
#include <stdio.h>
#include <string.h>
#include <errno.h>
@@ -45,7 +47,7 @@ extern const char* logident;
#define EXECVE_FAILURE 4
#define MAIL_USAGE_ERROR 5
#define MAIL_ILLEGAL_COMMAND 6
-
+#define ADDALIAS_USAGE_ERROR 7
/*