summaryrefslogtreecommitdiff
path: root/support/apxs.in
diff options
context:
space:
mode:
authorNick Kew <niq@apache.org>2010-06-22 17:12:44 +0000
committerNick Kew <niq@apache.org>2010-06-22 17:12:44 +0000
commit57df737005090f0720d3ca65dcbbd42674b0e404 (patch)
treeb4166130ee9f45d14de05d772354c57c79cc058f /support/apxs.in
parent22d2c7297e04f753d9150f5dc5c133678ffd755d (diff)
downloadhttpd-57df737005090f0720d3ca65dcbbd42674b0e404.tar.gz
Support AP_DECLARE_MODULE declaration syntax in apxs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956956 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/apxs.in')
-rw-r--r--support/apxs.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/apxs.in b/support/apxs.in
index beb683ed58..39ff16cd3c 100644
--- a/support/apxs.in
+++ b/support/apxs.in
@@ -513,7 +513,7 @@ if ($opt_i or $opt_e) {
open(FP, "<$base.c");
my $content = join('', <FP>);
close(FP);
- if ($content =~ m|.*module\s+(?:AP_MODULE_DECLARE_DATA\s+)?([a-zA-Z0-9_]+)_module\s*=\s*.*|s) {
+ if ($content =~ m|.*AP_DECLARE_MODULE\s*\(\s*([a-zA-Z0-9_]+)\s*\)\s*=.*|s || $content =~ m|.*module\s+(?:AP_MODULE_DECLARE_DATA\s+)?([a-zA-Z0-9_]+)_module\s*=\s*.*|s) {
$name = "$1";
$filename = "$base.c";
$filename =~ s|^[^/]+/||;