From b8d73f8fe4568148833e5fe694cafd6f2337a7df Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Tue, 2 Nov 2010 14:05:37 +0100 Subject: [PATCH] Don't dump Search modules that depend on Roxen. --- lib/modules/Search.pmod/Filter.pmod/HTML.pmod | 3 +++ lib/modules/Search.pmod/Utils.pmod | 2 ++ 2 files changed, 5 insertions(+) diff --git a/lib/modules/Search.pmod/Filter.pmod/HTML.pmod b/lib/modules/Search.pmod/Filter.pmod/HTML.pmod index acd3378f20..cfcdb50f3b 100644 --- a/lib/modules/Search.pmod/Filter.pmod/HTML.pmod +++ b/lib/modules/Search.pmod/Filter.pmod/HTML.pmod @@ -1,6 +1,9 @@ // $Id$ #pike __REAL_VERSION__ +// Cannot dump this because of the #if constant(Roxen.xxx) check below. +constant dont_dump_module = 1; + // Filter for text/html #define INTRAWISE diff --git a/lib/modules/Search.pmod/Utils.pmod b/lib/modules/Search.pmod/Utils.pmod index 8f102d166e..1e4d3bc163 100644 --- a/lib/modules/Search.pmod/Utils.pmod +++ b/lib/modules/Search.pmod/Utils.pmod @@ -7,6 +7,8 @@ #define report_warning werror #endif +// Cannot dump this because of the #if constant(...) checks depending +// on Roxen below. final constant dont_dump_module=1; #ifdef SEARCH_DEBUG -- GitLab