summaryrefslogtreecommitdiffabout
path: root/pmult/pmult.c
Side-by-side diff
Diffstat (limited to 'pmult/pmult.c') (more/less context) (ignore whitespace changes)
-rw-r--r--pmult/pmult.c31
1 files changed, 3 insertions, 28 deletions
diff --git a/pmult/pmult.c b/pmult/pmult.c
index 0b1dff2..92cfc84 100644
--- a/pmult/pmult.c
+++ b/pmult/pmult.c
@@ -34,34 +34,6 @@
#include <inttypes.h>
const char *mu_umaxtostr (unsigned slot, uintmax_t val);
-/* There are several problems with using libpmilter, as of
- meta1-1.0.PreAlpha22.0:
-
- 1. libpmilter and libpmutl are installed, but none of the seven libraries
- they depend on is;
- 2. None of the necessary headers are installed, except pmfapi.h,
- pmilter.h and pmfdef.h;
- 3. The rest of headers include generic.h which defines PACKAGE_* symbols,
- which no decent library should ever attempt to do;
-
- I compensate for these deficiences by:
-
- 1 and 2 - Special handling in configure.ac, which requires Meta1 sources
- to be present;
- 3 - Using the necessary symbols ASAP and undefining them before
- including the pmilter headers;
-*/
-
-const char *program_version = "pmult (" PACKAGE_STRING ")";
-const char *package_bugreport = "<" PACKAGE_BUGREPORT ">";
-#undef PACKAGE
-#undef PACKAGE_BUGREPORT
-#undef PACKAGE_NAME
-#undef PACKAGE_STRING
-#undef PACKAGE_TARNAME
-#undef PACKAGE_VERSION
-#undef VERSION
-
#include "sm/error.h"
#include "sm/smreplycodes.h"
#include "sm/pmilter.h"
@@ -70,6 +42,9 @@ const char *package_bugreport = "<" PACKAGE_BUGREPORT ">";
#include "pdbg.h"
+const char *program_version = "pmult (" PACKAGE_STRING ")";
+const char *package_bugreport = "<" PACKAGE_BUGREPORT ">";
+
char *portspec; /* Communication socket */
int log_to_stderr; /* Use stderr for logging */
char *log_tag; /* override mu_log_tag */

Return to:

Send suggestions and report system problems to the System administrator.