Changeset 1969
- Timestamp:
- 09/11/08 12:41:17 (4 months ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/cherokee/Makefile.am (modified) (6 diffs)
- cherokee/trunk/cherokee/dwriter.c (added)
- cherokee/trunk/cherokee/dwriter.h (added)
- cherokee/trunk/cherokee/handler_dbslayer.c (added)
- cherokee/trunk/cherokee/handler_dbslayer.h (added)
- cherokee/trunk/configure.in (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r1968 r1969 1 2008-09-11 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * cherokee/handler_dbslayer.h, cherokee/handler_dbslater.c, 4 cherokee/dwriter.c, cherokee/dwrite.h, configure.in, 5 cherokee/Makefile.am: Adds our brand new data base 6 bridge/serializer/balancer. 7 1 8 2008-09-08 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 9 cherokee/trunk/cherokee/Makefile.am
r1918 r1969 528 528 529 529 # 530 # Handler DB Slayer 531 # 532 handler_dbslayer = \ 533 dwriter.c \ 534 dwriter.h \ 535 handler_dbslayer.h \ 536 handler_dbslayer.c 537 538 libplugin_dbslayer_la_LDFLAGS = $(module_ldflags) $(MYSQL_LDFLAGS) 539 libplugin_dbslayer_la_SOURCES = $(handler_dbslayer) 540 libplugin_dbslayer_la_CFLAGS = $(MYSQL_CFLAGS) 541 542 if HAVE_MYSQL 543 if STATIC_HANDLER_DBSLAYER 544 static_handler_dbslayer_src = $(handler_dbslayer) 545 static_handler_dbslayer_lib = $(MYSQL_LDFLAGS) 546 static_handler_dbslayer_flags = $(MYSQL_CFLAGS) 547 else 548 dynamic_handler_dbslayer_lib = libplugin_dbslayer.la 549 endif 550 endif 551 552 553 # 530 554 # Handler custom_error 531 555 # … … 823 847 libcherokee_server_la_CFLAGS = \ 824 848 $(static_validator_htpasswd_flags) \ 825 $(static_validator_mysql_flags) 849 $(static_validator_mysql_flags) \ 850 $(static_handler_dbslayer_flags) 826 851 827 852 libcherokee_server_la_LIBADD = \ … … 835 860 $(static_validator_mysql_lib) \ 836 861 $(static_handler_proxy_lib) \ 862 $(static_handler_dbslayer_lib) \ 837 863 libcherokee-base.la 838 864 … … 1020 1046 $(static_handler_custom_error_src) \ 1021 1047 $(static_handler_server_info_src) \ 1048 $(static_handler_dbslayer_src) \ 1022 1049 \ 1023 1050 $(static_logger_w3c_src) \ … … 1175 1202 $(dynamic_handler_error_nn_lib) \ 1176 1203 $(dynamic_handler_common_lib) \ 1204 $(dynamic_handler_dbslayer_lib) \ 1177 1205 $(dynamic_encoder_gzip_lib) \ 1178 1206 $(dynamic_encoder_deflate_lib) \ … … 1274 1302 $(bin_SCRIPTS) \ 1275 1303 $(validator_mysql) \ 1304 $(handler_dbslayer) \ 1276 1305 $(cherokeedeps_DATA) \ 1277 1306 $(cherokeedata_DATA) \ cherokee/trunk/configure.in
r1887 r1969 1194 1194 [use_static_module="$use_static_module $enableval "],[]) 1195 1195 1196 modules="error_redir error_nn server_info file admin dirlist fcgi fastcgi scgi redir common cgi phpcgi proxy mirror custom_error gzip deflate ncsa combined w3c pam ldap mysql htpasswd plain htdigest round_robin directory extensions request header geoip not and or"1196 modules="error_redir error_nn server_info file admin dirlist fcgi fastcgi scgi redir common cgi phpcgi proxy mirror custom_error dbslayer gzip deflate ncsa combined w3c pam ldap mysql htpasswd plain htdigest round_robin directory extensions request header geoip not and or" 1197 1197 1198 1198 # Remove modules that will not be compiles … … 1206 1206 if test "x$have_mysql" != "xyes"; then 1207 1207 modules=`echo $modules | sed s/mysql//` 1208 modules=`echo $modules | sed s/dbslayer//` 1208 1209 fi 1209 1210 if test "x$have_geoip" != "xyes"; then … … 1261 1262 AM_CONDITIONAL(STATIC_HANDLER_MIRROR, grep mirror $conf_h >/dev/null) 1262 1263 AM_CONDITIONAL(STATIC_HANDLER_CUSTOM_ERROR, grep custom_error $conf_h >/dev/null) 1264 AM_CONDITIONAL(STATIC_HANDLER_DBSLAYER, grep dbslayer $conf_h >/dev/null) 1263 1265 AM_CONDITIONAL(STATIC_ENCODER_GZIP, grep gzip $conf_h >/dev/null) 1264 1266 AM_CONDITIONAL(STATIC_ENCODER_DEFLATE, grep deflate $conf_h >/dev/null)