Changeset 4bbe9bd for configure.in


Ignore:
Timestamp:
08/02/10 15:48:16 (10 years ago)
Author:
Shane Alcock <salcock@…>
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:
1326d5f
Parents:
9b097ea
Message:
  • Add check for the presence of sdl_len in the sockaddr_dl structure - OpenSolaris? doesn't seem to believe in length fields, which creates obvious issues
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    r7aebb85 r4bbe9bd  
    164164 #include <net/if.h>
    165165])
     166
     167if test "$libtrace_netpacket_packet_h" != "true"; then
     168# Check for sdl_len in sockaddr_dl
     169        AC_CHECK_MEMBER([struct sockaddr_dl.sdl_len],
     170                AC_DEFINE(HAVE_SDL_LEN,1,[Has sdl_len in sockaddr_dl]),,[
     171 #include <sys/types.h>
     172 #include <sys/socket.h>
     173 #include <net/if_dl.h>
     174                ])
     175fi
     176
     177               
     178
    166179
    167180# Checking for the right bpf header to include
Note: See TracChangeset for help on using the changeset viewer.