Changeset 1698

Show
Ignore:
Timestamp:
02/24/07 18:29:24 (23 months ago)
Author:
aturner
Message:

cleanup of r1697. refs #110

Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/configure.in

    r1697 r1698  
    108108 
    109109dnl Check for other header files 
    110 AC_CHECK_HEADERS([fcntl.h stddef.h sys/socket.h  arpa/inet.h sys/time.h signal.h string.h strings.h sys/types.h sys/select.h netinet/in.h poll.h sys/poll.h unistd.h]) 
     110AC_CHECK_HEADERS([fcntl.h stddef.h sys/socket.h  arpa/inet.h sys/time.h signal.h string.h strings.h sys/types.h sys/select.h netinet/in.h poll.h sys/poll.h unistd.h net/route.h sys/sysctl.h]) 
    111111 
    112112dnl Checks for libraries. 
  • trunk/src/common/sendpacket.c

    r1697 r1698  
    8181#include <sys/ioctl.h> 
    8282#include <sys/file.h> 
    83 //#include <sys/sysctl.h> 
    84 //#include <net/route.h> 
     83#ifdef HAVE_SYS_SYSCTL_H 
     84#include <sys/sysctl.h> 
     85#endif 
     86#ifdef HAVE_NET_ROUTE_H 
     87#include <net/route.h> 
     88#endif 
    8589#include <stdlib.h> 
    8690#include <unistd.h> 
  • trunk/src/config.h.in

    r1643 r1698  
    1515/* Enable building flowreplay (alpha) */ 
    1616#undef ENABLE_FLOWREPLAY 
     17 
     18/* Enable building tcpbridge (beta) */ 
     19#undef ENABLE_TCPBRIDGE 
    1720 
    1821/* fopen(3) accepts a 'b' in the mode flag */ 
     
    141144#undef HAVE_NETINET_IN_H 
    142145 
     146/* Define to 1 if you have the <net/route.h> header file. */ 
     147#undef HAVE_NET_ROUTE_H 
     148 
    143149/* Define to 1 if you have the `ntohll' function. */ 
    144150#undef HAVE_NTOHLL 
     
    262268/* Define to 1 if you have the <sys/stropts.h> header file. */ 
    263269#undef HAVE_SYS_STROPTS_H 
     270 
     271/* Define to 1 if you have the <sys/sysctl.h> header file. */ 
     272#undef HAVE_SYS_SYSCTL_H 
    264273 
    265274/* Define to 1 if you have the <sys/time.h> header file. */