]>
git.proxmox.com Git - mirror_iproute2.git/blob - configure
2 # This is not an autconf generated configure
4 INCLUDE
=${1:-"/usr/include"}
6 echo "# Generated config based on" $INCLUDE >Config
9 PKT_SCHED
=$INCLUDE/linux
/pkt_sched.h
10 if [ ! -r $PKT_SCHED ];
12 echo " can't find file" $PKT_SCHED
16 echo -n " netsim scheduler... "
17 if grep -q 'tc_netsim_qopt' $PKT_SCHED
19 echo "TC_CONFIG_NETSIM = y" >>Config
26 if [ -r $INCLUDE/linux
/atm.h
]
28 echo "TC_CONFIG_ATM = y" >>Config
34 # See if we know about TCP Vegas
36 echo -n " TCP Vegas... "
37 if grep -q TCPDIAG_VEGASINFO
$INCLUDE/linux
/tcp_diag.h
39 echo "SS_CONFIG_VEGAS = y" >>Config
45 echo -n " TCP DRS... "
46 if grep -q tcpi_rcv_space
$INCLUDE/linux
/tcp.h
48 echo "SS_CONFIG_DRS = y" >>Config