Changeset 111 for trunk/configure.in

Show
Ignore:
Timestamp:
06/17/09 14:44:04 (13 years ago)
Author:
andreu
Message:

ticket #41 Pcap file integration

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/configure.in

    r109 r111  
    2121CFLAGS_PRINTUNKNOWNSUBNET="-DPRINTUNKNOWNSUBNET" 
    2222CFLAGS_MULTISAMPLING="-DMULTISAMPLING" 
     23CFLAGS_READFROMFILE="-DREADFROMFILE -lpcap" 
    2324 
    2425# Checks for programs. 
     
    5152if test $multisampling = yes ; then 
    5253CFLAGS="$CFLAGS $CFLAGS_MULTISAMPLING" 
     54fi 
     55 
     56AC_ARG_ENABLE(readfromfile,[  --enable-readfromfile Read NDE from pcap FILE mode=no], 
     57readfromfile=$enableval,readfromfile=no) 
     58if test $readfromfile = yes ; then 
     59CFLAGS="$CFLAGS $CFLAGS_READFROMFILE" 
    5360fi 
    5461