Changeset 898
- Timestamp:
- 06/27/06 14:04:37 (7 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
-
Makefile.am (modified) (1 diff)
-
configure.in (modified) (3 diffs)
-
lib/format_helper.c (modified) (1 diff)
-
lib/format_wag.c (modified) (1 diff)
-
lib/libtraceio.h (modified) (2 diffs)
-
test/Makefile (modified) (2 diffs)
-
tools/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.am
r896 r898 1 if LIBPACKETDUMP2 1 LIBPACKETDUMP_DIR = libpacketdump 3 endif4 2 TOOLS_DIR = tools 5 3 SUBDIRS = lib docs $(LIBPACKETDUMP_DIR) $(TOOLS_DIR) -
trunk/configure.in
r896 r898 211 211 AM_CONDITIONAL([HAVE_DAG], [test "$libtrace_dag" = true]) 212 212 AM_CONDITIONAL([DAG2_4], [test "$libtrace_dag2_4" = true]) 213 AM_CONDITIONAL([HAVE_CXX], [test "$libtrace_cxx" = true]) 214 AM_CONDITIONAL([HAVE_ZLIB], [test "$libtrace_zlib" = true]) 213 AM_CONDITIONAL([HAVE_ZLIB], [test "$ac_cv_lib_z_gzopen" = yes]) 215 214 AM_CONDITIONAL([HAVE_NETPACKET_PACKET_H], [test "$libtrace_netpacket_packet_h" = true]) 216 AM_CONDITIONAL([LIBPACKETDUMP], [test "$libtrace_libpacketdump" = true]) 217 AM_CONDITIONAL([LIBGDC], [test "$libtrace_gdc" = true]) 218 215 AM_CONDITIONAL([LIBGDC], [test "$ac_cv_header_gdc_h" = yes]) 219 216 220 217 # Check for miscellaneous programs … … 245 242 } 246 243 244 echo 247 245 AC_MSG_NOTICE([Libtrace version $PACKAGE_VERSION]) 248 reportopt "Compiled with BPF filter support" $libtrace_bpf 249 reportopt "Compiled with PCAP support" $libtrace_pcap 250 reportopt "Compiled with compressed trace (zlib) support" $libtrace_zlib 246 reportopt "Compiled with PCAP support" $ac_cv_lib_pcap_pcap_open_live 247 reportopt "Compiled with compressed trace (zlib) support" $ac_cv_lib_z_gzopen 251 248 if test x"$libtrace_dag" = xtrue; then 252 249 if test x"$libtrace_dag2_4"; then … … 259 256 fi 260 257 reportopt "Building man pages/documentation" $libtrace_doxygen 261 reportopt "Building libpacketdump" $libtrace_libpacketdump 262 258 -
trunk/lib/format_helper.c
r896 r898 196 196 assert(level<10); 197 197 assert(level>=0); 198 #ifdef HAVE_ ZLIB198 #ifdef HAVE_LIBZ 199 199 sprintf(filemode,"wb%d",level); 200 200 #else -
trunk/lib/format_wag.c
r896 r898 161 161 void *value) { 162 162 switch(option) { 163 #ifdef HAVE_ ZLIB163 #ifdef HAVE_LIBZ 164 164 case TRACE_OPTION_OUTPUT_COMPRESS: 165 165 OPTIONS.zlib.level = *(int*)value; -
trunk/lib/libtraceio.h
r896 r898 5 5 #define LIBTRACEIO_H 1 6 6 #include "config.h" 7 #ifdef HAVE_ZLIB 8 #include <zlib.h> 9 #else 10 #include <stdio.h> 11 #endif 7 #include <inttypes.h> 12 8 13 9 #include <unistd.h> … … 55 51 */ 56 52 ssize_t libtrace_io_write(libtrace_io_t *io, const void *buf, size_t len); 57 off_t libtrace_io_seek(libtrace_io_t *io, off_t offset, int whence);53 int64_t libtrace_io_seek(libtrace_io_t *io, int64_t offset, int whence); 58 54 ssize_t libtrace_io_tell(libtrace_io_t *io); 59 55 -
trunk/test/Makefile
r883 r898 8 8 CFLAGS += $(INCLUDE) 9 9 libdir = $(PREFIX)/lib/.libs:$(PREFIX)/libpacketdump/.libs 10 LDLIBS = -L$(PREFIX)/lib/.libs -L $(PREFIX)/libpacketdump/.libs -ltrace 10 LDLIBS = -L$(PREFIX)/lib/.libs -L $(PREFIX)/libpacketdump/.libs -ltrace -lpacketdump 11 11 12 12 BINS = test-pcap-bpf test-event test-time test-dir #test-seek … … 17 17 18 18 test: all test-format-all test-convert-all test-write-all test-programs 19 20 test-decode: LDLIBS+=-lpacketdump21 19 22 20 test-programs: $(BINS) -
trunk/tools/Makefile.am
r896 r898 1 1 # tracedump depends on libpacketdump 2 if LIBPACKETDUMP3 2 TRACEDUMP_DIR=tracedump 4 endif5 3 6 4 SUBDIRS=traceanon tracemerge tracesplit $(TRACEDUMP_DIR) tracertstats tracestats
Note: See TracChangeset
for help on using the changeset viewer.
