Changeset 1732
- Timestamp:
- 08/05/08 13:18:29 (5 months ago)
- Files:
-
- cherokee/trunk/admin/Makefile.am (modified) (1 diff)
- cherokee/trunk/admin/ModuleErrorNn.py (added)
- cherokee/trunk/admin/consts.py (modified) (1 diff)
- cherokee/trunk/cherokee/Makefile.am (modified) (5 diffs)
- cherokee/trunk/cherokee/handler_nn.c (deleted)
- cherokee/trunk/cherokee/handler_nn.h (deleted)
- cherokee/trunk/cherokee/nn.deps (deleted)
- cherokee/trunk/configure.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/admin/Makefile.am
r1510 r1732 51 51 ModuleBalancer.py \ 52 52 ModuleMirror.py \ 53 ModuleErrorNn.py \ 53 54 ModuleErrorRedir.py \ 54 55 ModuleAuth.py \ cherokee/trunk/admin/consts.py
r1731 r1732 16 16 ('', 'Default errors'), 17 17 ('error_redir', 'Custom redirections'), 18 (' nn','Closet match')18 ('error_nn', 'Closet match') 19 19 ] 20 20 cherokee/trunk/cherokee/Makefile.am
r1703 r1732 16 16 cherokeedepsdir = "$(datadir)/cherokee/deps" 17 17 cherokeedeps_DATA = \ 18 nn.deps \19 18 common.deps \ 20 19 combined.deps \ … … 452 451 453 452 # 453 # Handler error_nn 454 # 455 handler_error_nn = \ 456 levenshtein_distance.c \ 457 levenshtein_distance.h \ 458 handler_error_nn.c \ 459 handler_error_nn.h 460 461 if PLATFORM_WIN32 462 nn_ldflags_win32 = -lplugin_common -lplugin_redir 463 endif 464 465 libplugin_error_nn_la_LDFLAGS = $(module_ldflags) $(nn_ldflags_win32) 466 libplugin_error_nn_la_SOURCES = $(handler_nn) 467 468 if STATIC_HANDLER_ERROR_NN 469 static_handler_error_nn_src = $(handler_error_nn) 470 else 471 dynamic_handler_error_nn_lib = libplugin_error_nn.la 472 endif 473 474 475 # 454 476 # Handler common 455 477 # … … 469 491 else 470 492 dynamic_handler_common_lib = libplugin_common.la 471 endif472 473 474 #475 # Handler nn476 #477 handler_nn = \478 levenshtein_distance.c \479 levenshtein_distance.h \480 handler_nn.c \481 handler_nn.h482 483 if PLATFORM_WIN32484 nn_ldflags_win32 = -lplugin_common -lplugin_redir485 endif486 487 libplugin_nn_la_LDFLAGS = $(module_ldflags) $(nn_ldflags_win32)488 libplugin_nn_la_SOURCES = $(handler_nn)489 490 if STATIC_HANDLER_NN491 static_handler_nn_src = $(handler_nn)492 else493 dynamic_handler_nn_lib = libplugin_nn.la494 493 endif 495 494 … … 1001 1000 $(static_handler_redir_src) \ 1002 1001 $(static_handler_error_redir_src) \ 1002 $(static_handler_error_nn_src) \ 1003 1003 $(static_handler_cgi_src) \ 1004 1004 $(static_handler_phpcgi_src) \ 1005 1005 $(static_handler_common_src) \ 1006 $(static_handler_nn_src) \1007 1006 $(static_handler_proxy_src) \ 1008 1007 $(static_handler_mirror_src) \ … … 1159 1158 $(dynamic_handler_mirror_lib) \ 1160 1159 $(dynamic_handler_error_redir_lib) \ 1160 $(dynamic_handler_error_nn_lib) \ 1161 1161 $(dynamic_handler_common_lib) \ 1162 $(dynamic_handler_nn_lib) \1163 1162 $(dynamic_encoder_gzip_lib) \ 1164 1163 $(dynamic_encoder_deflate_lib) \ cherokee/trunk/configure.in
r1695 r1732 1193 1193 [use_static_module="$use_static_module $enableval "],[]) 1194 1194 1195 modules="error_redir server_info file admin dirlist fcgi fastcgi scgi redir common nn cgi phpcgi proxy mirror gzip deflate ncsa combined w3c pam ldap mysql htpasswd plain htdigest round_robin directory extensions request header geoip not and or"1195 modules="error_redir error_nn server_info file admin dirlist fcgi fastcgi scgi redir common cgi phpcgi proxy mirror gzip deflate ncsa combined w3c pam ldap mysql htpasswd plain htdigest round_robin directory extensions request header geoip not and or" 1196 1196 1197 1197 # Remove modules that will not be compiles … … 1252 1252 AM_CONDITIONAL(STATIC_HANDLER_SCGI, grep scgi $conf_h >/dev/null) 1253 1253 AM_CONDITIONAL(STATIC_HANDLER_REDIR, grep redir $conf_h >/dev/null) 1254 AM_CONDITIONAL(STATIC_HANDLER_ERROR_REDIR, grep redir $conf_h >/dev/null) 1254 AM_CONDITIONAL(STATIC_HANDLER_ERROR_REDIR, grep error_redir $conf_h >/dev/null) 1255 AM_CONDITIONAL(STATIC_HANDLER_ERROR_NN, grep error_nn $conf_h >/dev/null) 1255 1256 AM_CONDITIONAL(STATIC_HANDLER_COMMON, grep common $conf_h >/dev/null) 1256 AM_CONDITIONAL(STATIC_HANDLER_NN, grep nn $conf_h >/dev/null)1257 1257 AM_CONDITIONAL(STATIC_HANDLER_CGI, grep cgi $conf_h >/dev/null) 1258 1258 AM_CONDITIONAL(STATIC_HANDLER_PHPCGI, grep phpcgi $conf_h >/dev/null)