evdispatch 0.2.6 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- # Makefile.in generated by automake 1.9.6 from Makefile.am.
1
+ # Makefile.in generated by automake 1.10 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
4
  # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
- # 2003, 2004, 2005 Free Software Foundation, Inc.
5
+ # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
6
  # This Makefile.in is free software; the Free Software Foundation
7
7
  # gives unlimited permission to copy and/or distribute it,
8
8
  # with or without modifications, as long as this notice is preserved.
@@ -15,15 +15,11 @@
15
15
  @SET_MAKE@
16
16
 
17
17
 
18
- srcdir = @srcdir@
19
- top_srcdir = @top_srcdir@
20
18
  VPATH = @srcdir@
21
19
  pkgdatadir = $(datadir)/@PACKAGE@
22
20
  pkglibdir = $(libdir)/@PACKAGE@
23
21
  pkgincludedir = $(includedir)/@PACKAGE@
24
- top_builddir = ..
25
22
  am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26
- INSTALL = @INSTALL@
27
23
  install_sh_DATA = $(install_sh) -c -m 644
28
24
  install_sh_PROGRAM = $(install_sh) -c
29
25
  install_sh_SCRIPT = $(install_sh) -c
@@ -41,7 +37,7 @@ subdir = src
41
37
  DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
42
38
  $(srcdir)/Makefile.in
43
39
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44
- am__aclocal_m4_deps = $(top_srcdir)/libev-3.2/libev.m4 \
40
+ am__aclocal_m4_deps = $(top_srcdir)/libev-3.31/libev.m4 \
45
41
  $(top_srcdir)/configure.ac
46
42
  am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
47
43
  $(ACLOCAL_M4)
@@ -61,17 +57,22 @@ libdispatch_la_LIBADD =
61
57
  am_libdispatch_la_OBJECTS = libdispatch_la-ev_dispatch.lo \
62
58
  libdispatch_la-ev_http.lo
63
59
  libdispatch_la_OBJECTS = $(am_libdispatch_la_OBJECTS)
64
- DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
60
+ libdispatch_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
61
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) \
62
+ $(libdispatch_la_CXXFLAGS) $(CXXFLAGS) \
63
+ $(libdispatch_la_LDFLAGS) $(LDFLAGS) -o $@
64
+ DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
65
65
  depcomp =
66
66
  am__depfiles_maybe =
67
67
  CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
68
68
  $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
69
- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
70
- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
71
- $(AM_CXXFLAGS) $(CXXFLAGS)
69
+ LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
70
+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
71
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
72
72
  CXXLD = $(CXX)
73
- CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
74
- $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
73
+ CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
74
+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
75
+ $(LDFLAGS) -o $@
75
76
  SOURCES = $(libdispatch_la_SOURCES)
76
77
  DIST_SOURCES = $(libdispatch_la_SOURCES)
77
78
  includeHEADERS_INSTALL = $(INSTALL_HEADER)
@@ -80,8 +81,6 @@ ETAGS = etags
80
81
  CTAGS = ctags
81
82
  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
82
83
  ACLOCAL = @ACLOCAL@
83
- AMDEP_FALSE = @AMDEP_FALSE@
84
- AMDEP_TRUE = @AMDEP_TRUE@
85
84
  AMTAR = @AMTAR@
86
85
  AR = @AR@
87
86
  AUTOCONF = @AUTOCONF@
@@ -108,6 +107,8 @@ EGREP = @EGREP@
108
107
  EXEEXT = @EXEEXT@
109
108
  F77 = @F77@
110
109
  FFLAGS = @FFLAGS@
110
+ GREP = @GREP@
111
+ INSTALL = @INSTALL@
111
112
  INSTALL_DATA = @INSTALL_DATA@
112
113
  INSTALL_PROGRAM = @INSTALL_PROGRAM@
113
114
  INSTALL_SCRIPT = @INSTALL_SCRIPT@
@@ -120,9 +121,8 @@ LIBTOOL = @LIBTOOL@
120
121
  LN_S = @LN_S@
121
122
  LTLIBOBJS = @LTLIBOBJS@
122
123
  MAINT = @MAINT@
123
- MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
124
- MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
125
124
  MAKEINFO = @MAKEINFO@
125
+ MKDIR_P = @MKDIR_P@
126
126
  OBJEXT = @OBJEXT@
127
127
  PACKAGE = @PACKAGE@
128
128
  PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
@@ -136,16 +136,13 @@ SET_MAKE = @SET_MAKE@
136
136
  SHELL = @SHELL@
137
137
  STRIP = @STRIP@
138
138
  VERSION = @VERSION@
139
- ac_ct_AR = @ac_ct_AR@
139
+ abs_builddir = @abs_builddir@
140
+ abs_srcdir = @abs_srcdir@
141
+ abs_top_builddir = @abs_top_builddir@
142
+ abs_top_srcdir = @abs_top_srcdir@
140
143
  ac_ct_CC = @ac_ct_CC@
141
144
  ac_ct_CXX = @ac_ct_CXX@
142
145
  ac_ct_F77 = @ac_ct_F77@
143
- ac_ct_RANLIB = @ac_ct_RANLIB@
144
- ac_ct_STRIP = @ac_ct_STRIP@
145
- am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
146
- am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
147
- am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
148
- am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
149
146
  am__include = @am__include@
150
147
  am__leading_dot = @am__leading_dot@
151
148
  am__quote = @am__quote@
@@ -157,28 +154,39 @@ build_alias = @build_alias@
157
154
  build_cpu = @build_cpu@
158
155
  build_os = @build_os@
159
156
  build_vendor = @build_vendor@
157
+ builddir = @builddir@
160
158
  datadir = @datadir@
159
+ datarootdir = @datarootdir@
160
+ docdir = @docdir@
161
+ dvidir = @dvidir@
161
162
  exec_prefix = @exec_prefix@
162
163
  host = @host@
163
164
  host_alias = @host_alias@
164
165
  host_cpu = @host_cpu@
165
166
  host_os = @host_os@
166
167
  host_vendor = @host_vendor@
168
+ htmldir = @htmldir@
167
169
  includedir = @includedir@
168
170
  infodir = @infodir@
169
171
  install_sh = @install_sh@
170
172
  libdir = @libdir@
171
173
  libexecdir = @libexecdir@
174
+ localedir = @localedir@
172
175
  localstatedir = @localstatedir@
173
176
  mandir = @mandir@
174
177
  mkdir_p = @mkdir_p@
175
178
  oldincludedir = @oldincludedir@
179
+ pdfdir = @pdfdir@
176
180
  prefix = @prefix@
177
181
  program_transform_name = @program_transform_name@
182
+ psdir = @psdir@
178
183
  sbindir = @sbindir@
179
184
  sharedstatedir = @sharedstatedir@
185
+ srcdir = @srcdir@
180
186
  sysconfdir = @sysconfdir@
181
187
  target_alias = @target_alias@
188
+ top_builddir = @top_builddir@
189
+ top_srcdir = @top_srcdir@
182
190
  AUTOMAKE_OPTIONS = foreign no-dependencies
183
191
  VERSION_INFO = 0:1
184
192
  include_HEADERS = ev_dispatch.h ev_http.h
@@ -221,7 +229,7 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
221
229
  cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
222
230
  install-libLTLIBRARIES: $(lib_LTLIBRARIES)
223
231
  @$(NORMAL_INSTALL)
224
- test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
232
+ test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
225
233
  @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
226
234
  if test -f $$p; then \
227
235
  f=$(am__strip_dir) \
@@ -232,7 +240,7 @@ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
232
240
 
233
241
  uninstall-libLTLIBRARIES:
234
242
  @$(NORMAL_UNINSTALL)
235
- @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
243
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
236
244
  p=$(am__strip_dir) \
237
245
  echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
238
246
  $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
@@ -247,7 +255,7 @@ clean-libLTLIBRARIES:
247
255
  rm -f "$${dir}/so_locations"; \
248
256
  done
249
257
  libdispatch.la: $(libdispatch_la_OBJECTS) $(libdispatch_la_DEPENDENCIES)
250
- $(CXXLINK) -rpath $(libdir) $(libdispatch_la_LDFLAGS) $(libdispatch_la_OBJECTS) $(libdispatch_la_LIBADD) $(LIBS)
258
+ $(libdispatch_la_LINK) -rpath $(libdir) $(libdispatch_la_OBJECTS) $(libdispatch_la_LIBADD) $(LIBS)
251
259
 
252
260
  mostlyclean-compile:
253
261
  -rm -f *.$(OBJEXT)
@@ -265,23 +273,19 @@ distclean-compile:
265
273
  $(LTCXXCOMPILE) -c -o $@ $<
266
274
 
267
275
  libdispatch_la-ev_dispatch.lo: ev_dispatch.cc
268
- $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdispatch_la_CXXFLAGS) $(CXXFLAGS) -c -o libdispatch_la-ev_dispatch.lo `test -f 'ev_dispatch.cc' || echo '$(srcdir)/'`ev_dispatch.cc
276
+ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdispatch_la_CXXFLAGS) $(CXXFLAGS) -c -o libdispatch_la-ev_dispatch.lo `test -f 'ev_dispatch.cc' || echo '$(srcdir)/'`ev_dispatch.cc
269
277
 
270
278
  libdispatch_la-ev_http.lo: ev_http.cc
271
- $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdispatch_la_CXXFLAGS) $(CXXFLAGS) -c -o libdispatch_la-ev_http.lo `test -f 'ev_http.cc' || echo '$(srcdir)/'`ev_http.cc
279
+ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libdispatch_la_CXXFLAGS) $(CXXFLAGS) -c -o libdispatch_la-ev_http.lo `test -f 'ev_http.cc' || echo '$(srcdir)/'`ev_http.cc
272
280
 
273
281
  mostlyclean-libtool:
274
282
  -rm -f *.lo
275
283
 
276
284
  clean-libtool:
277
285
  -rm -rf .libs _libs
278
-
279
- distclean-libtool:
280
- -rm -f libtool
281
- uninstall-info-am:
282
286
  install-includeHEADERS: $(include_HEADERS)
283
287
  @$(NORMAL_INSTALL)
284
- test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)"
288
+ test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
285
289
  @list='$(include_HEADERS)'; for p in $$list; do \
286
290
  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
287
291
  f=$(am__strip_dir) \
@@ -346,22 +350,21 @@ distclean-tags:
346
350
  -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
347
351
 
348
352
  distdir: $(DISTFILES)
349
- @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
350
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
351
- list='$(DISTFILES)'; for file in $$list; do \
352
- case $$file in \
353
- $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
354
- $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
355
- esac; \
353
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
354
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
355
+ list='$(DISTFILES)'; \
356
+ dist_files=`for file in $$list; do echo $$file; done | \
357
+ sed -e "s|^$$srcdirstrip/||;t" \
358
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
359
+ case $$dist_files in \
360
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
361
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
362
+ sort -u` ;; \
363
+ esac; \
364
+ for file in $$dist_files; do \
356
365
  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
357
- dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
358
- if test "$$dir" != "$$file" && test "$$dir" != "."; then \
359
- dir="/$$dir"; \
360
- $(mkdir_p) "$(distdir)$$dir"; \
361
- else \
362
- dir=''; \
363
- fi; \
364
366
  if test -d $$d/$$file; then \
367
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
365
368
  if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
366
369
  cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
367
370
  fi; \
@@ -377,7 +380,7 @@ check: check-am
377
380
  all-am: Makefile $(LTLIBRARIES) $(HEADERS)
378
381
  installdirs:
379
382
  for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \
380
- test -z "$$dir" || $(mkdir_p) "$$dir"; \
383
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
381
384
  done
382
385
  install: install-am
383
386
  install-exec: install-exec-am
@@ -411,7 +414,7 @@ clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
411
414
  distclean: distclean-am
412
415
  -rm -f Makefile
413
416
  distclean-am: clean-am distclean-compile distclean-generic \
414
- distclean-libtool distclean-tags
417
+ distclean-tags
415
418
 
416
419
  dvi: dvi-am
417
420
 
@@ -425,12 +428,20 @@ info-am:
425
428
 
426
429
  install-data-am: install-includeHEADERS
427
430
 
431
+ install-dvi: install-dvi-am
432
+
428
433
  install-exec-am: install-libLTLIBRARIES
429
434
 
435
+ install-html: install-html-am
436
+
430
437
  install-info: install-info-am
431
438
 
432
439
  install-man:
433
440
 
441
+ install-pdf: install-pdf-am
442
+
443
+ install-ps: install-ps-am
444
+
434
445
  installcheck-am:
435
446
 
436
447
  maintainer-clean: maintainer-clean-am
@@ -450,21 +461,23 @@ ps: ps-am
450
461
 
451
462
  ps-am:
452
463
 
453
- uninstall-am: uninstall-includeHEADERS uninstall-info-am \
454
- uninstall-libLTLIBRARIES
464
+ uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES
465
+
466
+ .MAKE: install-am install-strip
455
467
 
456
468
  .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
457
469
  clean-libLTLIBRARIES clean-libtool ctags distclean \
458
470
  distclean-compile distclean-generic distclean-libtool \
459
471
  distclean-tags distdir dvi dvi-am html html-am info info-am \
460
- install install-am install-data install-data-am install-exec \
461
- install-exec-am install-includeHEADERS install-info \
462
- install-info-am install-libLTLIBRARIES install-man \
463
- install-strip installcheck installcheck-am installdirs \
464
- maintainer-clean maintainer-clean-generic mostlyclean \
465
- mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
466
- pdf pdf-am ps ps-am tags uninstall uninstall-am \
467
- uninstall-includeHEADERS uninstall-info-am \
472
+ install install-am install-data install-data-am install-dvi \
473
+ install-dvi-am install-exec install-exec-am install-html \
474
+ install-html-am install-includeHEADERS install-info \
475
+ install-info-am install-libLTLIBRARIES install-man install-pdf \
476
+ install-pdf-am install-ps install-ps-am install-strip \
477
+ installcheck installcheck-am installdirs maintainer-clean \
478
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
479
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
480
+ tags uninstall uninstall-am uninstall-includeHEADERS \
468
481
  uninstall-libLTLIBRARIES
469
482
 
470
483
  # Tell versions [3.59,3.63) of GNU make to not export all variables.
@@ -159,7 +159,7 @@ void Dispatch::stop()
159
159
  {
160
160
  if( !m_loop_started ){ return ; }
161
161
 
162
- printf( "EVD::Dispatch stopping...\n" );
162
+ //printf( "EVD::Dispatch stopping...\n" );
163
163
  m_lock.lock();
164
164
  m_loop_started = false;
165
165
  m_lock.unlock();
@@ -408,9 +408,9 @@ void HttpResponse::write( void *ptr, size_t realsize, size_t size, size_t nmemb
408
408
  body.append((const char*)ptr,realsize);
409
409
  }
410
410
  else {
411
+ //fwrite( ptr, size, nmemb, stdout );
411
412
  ::write( m_fd, ptr, realsize );
412
413
  }
413
- //fwrite( ptr, size, nmemb, stdout );
414
414
  }
415
415
  void HttpResponse::write_header( void *ptr, size_t realsize, size_t size, size_t nmemb )
416
416
  {