Changeset 7b2a39b for configure.in


Ignore:
Timestamp:
04/22/06 00:59:24 (15 years ago)
Author:
Perry Lorier <perry@…>
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:
411f3c7
Parents:
2d96bf2
Message:

Make format_linux only compile if the machine we're compiling it on supports it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    redb18ce r7b2a39b  
    5454
    5555AC_CHECK_HEADERS(netinet/in.h)
     56AC_CHECK_HEADER(netpacket/packet.h,
     57                libtrace_netpacket_packet_h=true
     58                AC_DEFINE(HAVE_NETPACKET_PACKET_H,1,[We have netpacket/packet.h]),
     59                [libtrace_netpacket_packet_h=false])
    5660
    5761AC_CHECK_HEADER(net/if.h,
     
    350354AM_CONDITIONAL([HAVE_CXX], [test "$libtrace_cxx" = true])
    351355AM_CONDITIONAL([HAVE_ZLIB], [test "$libtrace_zlib" = true])
     356AM_CONDITIONAL([HAVE_NETPACKET_PACKET_H], [test "$libtrace_netpacket_packet_h" = true])
    352357AM_CONDITIONAL([LIBPACKETDUMP], [test "$libtrace_libpacketdump" = true])
    353358AM_CONDITIONAL([LIBTRACE_TOOLS], [test "$libtrace_tools" = true])
Note: See TracChangeset for help on using the changeset viewer.