~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to modules/mappers/config9.m4

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl modules enabled in this directory by default
 
2
 
 
3
dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
 
4
 
 
5
APACHE_MODPATH_INIT(mappers)
 
6
 
 
7
APACHE_MODULE(vhost_alias, mass virtual hosting module, , , most)
 
8
APACHE_MODULE(negotiation, content negotiation, , , yes)
 
9
APACHE_MODULE(dir, directory request handling, , , yes)
 
10
APACHE_MODULE(imagemap, server-side imagemaps, , , most)
 
11
APACHE_MODULE(actions, Action triggering on requests, , , yes)
 
12
APACHE_MODULE(speling, correct common URL misspellings, , , most)
 
13
APACHE_MODULE(userdir, mapping of requests to user-specific directories, , , yes)
 
14
APACHE_MODULE(alias, mapping of requests to different filesystem parts, , , yes)
 
15
 
 
16
APACHE_MODULE(rewrite, rule based URL manipulation, , , most)
 
17
 
 
18
 
 
19
APR_CHECK_APR_DEFINE(APR_HAS_DSO)
 
20
 
 
21
case "x$enable_so" in
 
22
    "xyes")
 
23
        if test $ac_cv_define_APR_HAS_DSO = "no"; then
 
24
            AC_MSG_ERROR([mod_so has been requested but cannot be built on your system])
 
25
        fi
 
26
        ;;
 
27
    "xshared")
 
28
        AC_MSG_ERROR([mod_so can not be built as a shared DSO])
 
29
        ;;
 
30
    "xno")
 
31
        ;;
 
32
    "x")
 
33
        enable_so=$ac_cv_define_APR_HAS_DSO
 
34
        ;;
 
35
esac
 
36
 
 
37
dnl mod_so can only be built statically. If the user wants modules to
 
38
dnl be built as DSOs by default (eg. ./configure --enable-mods-shared=most)
 
39
dnl then we must override the default here.
 
40
if test "x$enable_so" = "xyes"; then
 
41
    enable_so="static"
 
42
fi
 
43
 
 
44
if test "x$enable_so" = "xstatic"; then
 
45
    APR_ADDTO(HTTPD_LDFLAGS, [-export-dynamic])
 
46
    INSTALL_DSO=yes
 
47
else
 
48
    INSTALL_DSO=no
 
49
fi
 
50
APACHE_SUBST(INSTALL_DSO)
 
51
 
 
52
if test "$sharedobjs" = "yes"; then
 
53
    if test $ac_cv_define_APR_HAS_DSO = "no"; then
 
54
        AC_MSG_ERROR([shared objects have been requested but cannot be built since mod_so cannot be built])
 
55
    elif test $enable_so = "no"; then
 
56
        AC_MSG_ERROR([shared objects have been requested but cannot be built since mod_so was disabled])
 
57
    fi
 
58
fi
 
59
 
 
60
APACHE_MODULE(so, DSO capability, , , $enable_so)
 
61
 
 
62
dnl ### why save the cache?
 
63
AC_CACHE_SAVE
 
64
 
 
65
APACHE_MODPATH_FINISH