Changeset 1734 for trunk/configure.in

Show
Ignore:
Timestamp:
03/20/07 22:20:18 (22 months ago)
Author:
aturner
Message:

tag things as rc1 refs #108
add support for pcap_snapshot_override() refs #130
check that dual nic mode both interfaces have the same dlt refs #125

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/configure.in

    r1730 r1734  
    1313MAJOR_VERSION=3 
    1414MINOR_VERSION=0 
    15 MICRO_VERSION=beta13 
     15MICRO_VERSION=RC1 
    1616TCPREPLAY_VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION 
    1717 
     
    495495              [Does libpcap have dlt_val_to_desc?]) 
    496496fi 
     497 
     498 
     499dnl Check to see if we've got pcap_snapshot_override() 
     500AC_MSG_CHECKING(for pcap_snapshot_override) 
     501AC_LINK_IFELSE(AC_LANG_PROGRAM([[ 
     502#include <stdio.h> 
     503#include <stdlib.h> 
     504#include <string.h> 
     505#include "$LPCAPINC" 
     506]],[[ 
     507        pcap_t *pcap; 
     508        pcap_snapshot_override(pcap, 1); 
     509        exit(0); 
     510]]),[ 
     511    have_pcap_snapshot_override=yes 
     512    AC_MSG_RESULT(yes) 
     513], [ 
     514    have_pcap_snapshot_override=no 
     515    AC_MSG_RESULT(no) 
     516]) 
     517 
     518if test $have_pcap_snapshot_override = yes ; then 
     519    AC_DEFINE([HAVE_PCAP_SNAPSHOT_OVERRIDE], [1],  
     520              [Does libpcap have pcap_snapshot_override()?]) 
     521fi 
     522 
    497523 
    498524dnl This message is placed here for continuity purposes