Changeset 5e26f1d
- Timestamp:
- 03/12/10 13:48:43 (11 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- b4fd5bc
- Parents:
- aa0c5c5
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.in
r441f34d r5e26f1d 272 272 AC_CHECK_LIB(z, deflate) 273 273 AC_CHECK_LIB(bz2, BZ2_bzDecompressInit) 274 AC_CHECK_LIB(lzo2, lzo1x_1_compress) 274 275 AC_CHECK_LIB(pthread, pthread_create) 275 276 AC_SEARCH_LIBS(mvprintw, ncurses, [], [ AC_MSG_ERROR([NCurses library not available]) ]) … … 282 283 AM_CONDITIONAL([HAVE_ZLIB], [test "$ac_cv_lib_z_deflate" = yes]) 283 284 AM_CONDITIONAL([HAVE_BZLIB], [test "$ac_cv_lib_bz2_BZ2_bzDecompressInit" = yes]) 285 AM_CONDITIONAL([HAVE_LZO], [test "$ac_cv_lib_lzo2_lzo1x_1_compress" = yes]) 284 286 AM_CONDITIONAL([HAVE_NETPACKET_PACKET_H], [test "$libtrace_netpacket_packet_h" = true]) 285 287 AM_CONDITIONAL([HAVE_LIBGDC], [test "$ac_cv_header_gdc_h" = yes]) … … 318 320 reportopt "Compiled with compressed trace (zlib) support" $ac_cv_lib_z_deflate 319 321 reportopt "Compiled with compressed trace (bz2) support" $ac_cv_lib_bz2_BZ2_bzDecompressInit 322 reportopt "Compiled with compressed trace (lzo write only) support" $ac_cv_lib_lzo2_lzo1x_1_compress 320 323 if test x"$libtrace_dag" = xtrue; then 321 324 if test "$libtrace_dag_version" = 24; then -
lib/Makefile.am
rc66068d r5e26f1d 27 27 endif 28 28 29 if HAVE_LZO 30 LIBTRACEIO_LZO=iow-lzo.c 31 else 32 LIBTRACEIO_LZO= 33 endif 34 29 35 if HAVE_DAG 30 36 if DAG2_4 … … 48 54 protocols_transport.c protocols.h \ 49 55 $(DAGSOURCE) format_erf.h \ 50 $(LIBTRACEIO_ZLIB) $(LIBTRACEIO_BZLIB) ior-peek.c ior-stdio.c ior-thread.c \ 56 $(LIBTRACEIO_ZLIB) $(LIBTRACEIO_BZLIB) $(LIBTRACEIO_LZO) \ 57 ior-peek.c ior-stdio.c ior-thread.c \ 51 58 iow-stdio.c iow-thread.c wandio.c \ 52 59 wandio.h -
lib/wandio.h
r29d4438 r5e26f1d 162 162 /** Bzip compression */ 163 163 WANDIO_COMPRESS_BZ2 = 2, 164 /** LZO compression */ 165 WANDIO_COMPRESS_LZO = 3, 164 166 /** All supported methods - used as a bitmask */ 165 167 WANDIO_COMPRESS_MASK = 7 … … 182 184 iow_t *zlib_wopen(iow_t *child, int compress_level); 183 185 iow_t *bz_wopen(iow_t *child, int compress_level); 186 iow_t *lzo_wopen(iow_t *child, int compress_level); 184 187 iow_t *thread_wopen(iow_t *child); 185 188 iow_t *stdio_wopen(const char *filename);
Note: See TracChangeset
for help on using the changeset viewer.