1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-13 21:42:17 +03:00
Commit Graph

20 Commits

Author SHA1 Message Date
Daniel Gruno
328ea376e4 mod_lua: Also check for 5.2 headers/libraries, we support both 5.1 and 5.2 nowadays.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1560038 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 14:59:29 +00:00
Guenter Knauf
2deddb79ae Follow-up to r1488773 for configure builds.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1489410 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 12:27:24 +00:00
Daniel Gruno
0e04ce5529 Add database features for mod_lua (apr_dbd + mod_dbd).
See documentation update for API and examples.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1430225 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 11:42:50 +00:00
Jeff Trawick
710f0e5eb2 configure: Fix processing of --disable-FEATURE for various features.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1397687 13f79535-47bb-0310-9956-ffa450edef68
2012-10-12 18:58:00 +00:00
Kaspar Brand
089f0eb0ac Spin off module-specific build options into separate build vars.
[second try, supersedes r1385214]

Add MOD_CFLAGS, MOD_LDFLAGS variables etc. to the build commands,
which are available to modules for customization on a per-subdir
basis (by adding definitions to modules.mk). Reduces the risk
of side-effects when a module needs to add CFLAGS, LDFLAGS etc.
and these would be added to the global settings (ALL_CFLAGS etc.).

Adapt build settings for mod_ssl, mod_socache_dc, mod_deflate,
mod_xml2enc, mod_proxy_html, and mod_lua to use the new MOD_xxx
build variables.

Change PICFLAGS, SHLTCFLAGS and LTCFLAGS into config vars, instead
of AC_SUBSTing them in build/rules.mk.in. For support/ab, introduce
ab_CFLAGS and ab_LDFLAGS, and define explicit make targets where
they appear at the proper position in the build commands.

Consistently use "--with-xxx=PATH" in configure help strings which
are used to specify a path to the installation directory of an
auxiliary package.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1385216 13f79535-47bb-0310-9956-ffa450edef68
2012-09-16 06:19:13 +00:00
Kaspar Brand
5eb4537e2a revert r1385214, as I inadvertently left out acinclude.m4.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1385215 13f79535-47bb-0310-9956-ffa450edef68
2012-09-16 06:16:35 +00:00
Kaspar Brand
3aaa0378b6 Spin off module-specific build options into separate build vars.
Add MOD_CFLAGS, MOD_LDFLAGS variables etc. to the build commands,
which are available to modules for customization on a per-subdir
basis (by adding definitions to modules.mk). Reduces the risk
of side-effects when a module needs to add CFLAGS, LDFLAGS etc.
and these would be added to the global settings (ALL_CFLAGS etc.).

Adapt build settings for mod_ssl, mod_socache_dc, mod_deflate,
mod_xml2enc, mod_proxy_html, and mod_lua to use the new MOD_xxx
build variables.

Change PICFLAGS, SHLTCFLAGS and LTCFLAGS into config vars, instead
of AC_SUBSTing them in build/rules.mk.in. For support/ab, introduce
ab_CFLAGS and ab_LDFLAGS, and define explicit make targets where
they appear at the proper position in the build commands.

Consistently use "--with-xxx=PATH" in configure help strings which
are used to specify a path to the installation directory of an
auxiliary package.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1385214 13f79535-47bb-0310-9956-ffa450edef68
2012-09-16 05:55:02 +00:00
Stefan Fritsch
e487ff2212 enable mod_lua at level 'all' if the dependencies are present
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1150473 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 19:14:25 +00:00
Rainer Jung
a68daf2a82 Allow to specify module specific custom linker flags
via the MOD_XXX_LDADD variables.

Use APR_ADDTO instead of APR_SETVAR or direct
variable assignment.

This is especially useful when building mod_lua
or mod_deflate against a lua resp. libz which
are installed in non-standard locations.
One can add "-R ..." to MOD_LUA_LDADD and
MOD_DEFLATE_LDADD before configure to fix
the RPATH/RUNPATH of those modules.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142938 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 09:24:23 +00:00
Rainer Jung
9ed2afa2b9 Tolerate dependency checking failures in configure
for modules that have been enabled only implicitely.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142892 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 05:31:22 +00:00
Rainer Jung
e2dd8ef18f Respect platform specific runpath linker flag
when building mod_deflate and mod_lua.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142713 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 15:19:00 +00:00
Rainer Jung
7353c3d13d Fix configure error when configuring module set "reallyall".
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1102328 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 14:35:03 +00:00
Rainer Jung
76709be016 Use "=" instead of "==" in test condition for
improved shell compatibility.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@888546 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 19:46:10 +00:00
William A. Rowe Jr
5181635ab3 Always make mod_*.h files available where they exist, modpath by modpath
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@808722 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 01:27:46 +00:00
William A. Rowe Jr
6ea0ab9e0a Add . 'default' test first before searching paths, to determine if the
lua.h, liblua5.1, liblua-5.1 or liblua can be resolved.  This avoids
adding strange paths on fedora/redhat, and choosing the wrong /lib[64]
flavor.

Also ensure -lm is always added to the actual linked libraries, avoiding
a LoadModule failure on fedora/redhat.  Still should first try to search 
for pkg-config lua settings, but note this would break fedora until that
build hackery is corrected, c.f. the bug
https://bugzilla.redhat.com/show_bug.cgi?id=499238



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@772864 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 06:47:33 +00:00
Rainer Jung
8eb168a906 Use LDADD mechanism to only link mod_serf resp.
mod_lua to libserf resp. liblua.

No need to include this dependency in all other
modules and binaries.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730876 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 00:20:14 +00:00
Rainer Jung
c662d88e8f Use APACHE_HELP_STRING() for --enable-luajit in configure
to allow automatic indentation in configure help output.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730686 13f79535-47bb-0310-9956-ffa450edef68
2009-01-02 09:47:54 +00:00
Paul Querna
4fbf0b5ff3 Hack to add basic support for LuaJIT.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728779 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 21:15:32 +00:00
Paul Querna
3948867f51 Rename all files in mod_lua to have a lua_ prefix, as things like 'config.h' are way to generic and will often conflict with other include files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728508 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 21:27:01 +00:00
Paul Querna
c16fe2875d Rename mod_wombat -> mod_lua.
Note that this isn't a complete transformation yet, but it should basically compile and load as mod_lua.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@728494 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 20:48:19 +00:00