Changeset bf7018a for tools/tracertstats


Ignore:
Timestamp:
11/03/05 13:32:56 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
dc0162b
Parents:
86d98b4
Message:

improved detection for libgdc

Location:
tools/tracertstats
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tools/tracertstats/Makefile.am

    r86d98b4 rbf7018a  
    44if LIBGDC
    55OUTPUT_MODULES+=output_png.c
     6OUTPUT_PNG_LD=-lgdc
    67endif
    78
    89include ../Makefile.tools
    910tracertstats_SOURCES = tracertstats.c output.h output.c $(OUTPUT_MODULES)
    10 tracertstats_LDADD = -ltrace -lgdc
     11tracertstats_LDADD = -ltrace $(OUTPUT_PNG_LD)
  • tools/tracertstats/output.c

    r65cdb7f rbf7018a  
    66
    77#include "output.h"
     8#include "config.h"
    89
    910struct output_type_t *output_formats[] = {
    1011        &output_csv,
    1112        &output_html,
     13#if HAVE_GDC_H
    1214        &output_png,
     15#endif
    1316        NULL
    1417};
Note: See TracChangeset for help on using the changeset viewer.