diff options
Diffstat (limited to 'modules/NWGNUmakefile')
-rw-r--r-- | modules/NWGNUmakefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/NWGNUmakefile b/modules/NWGNUmakefile index 0cc2abdefd..179cec3cde 100644 --- a/modules/NWGNUmakefile +++ b/modules/NWGNUmakefile @@ -5,7 +5,8 @@ # variable WITH_SSL=1 # To build with the mod_lua module set the environment # variable WITH_LUA=1 - +# To build with the mod_h2 module set the environment +# variable WITH_HTTP2=1 # # Check if LDAP is enabled in APR-UTIL # @@ -73,6 +74,13 @@ SUBDIRS += lua endif endif +# Allow the mod_h2 module to be built if WITH_HTTP2 is defined +ifeq "$(WITH_HTTP2)" "1" +ifneq "$(NGH2SRC)" "" +SUBDIRS += http2 +endif +endif + # Allow the experimental modules to be built if WITH_EXPERIMENTAL is defined ifeq "$(WITH_EXPERIMENTAL)" "1" SUBDIRS += experimental |