2 # This is not an autconf generated configure
4 INCLUDE=${1:-"$PWD/include"}
6 echo "# Generated config based on" $INCLUDE >Config
11 cat >/tmp/atmtest.c <<EOF
13 int main(int argc, char **argv) {
15 (void) text2qos("aal5,ubr:sdu=9180,rx:none",&qos,0);
19 gcc -I$INCLUDE -o /tmp/atmtest /tmp/atmtest.c -latm >/dev/null 2>&1
22 echo "TC_CONFIG_ATM:=y" >>Config
27 rm -f /tmp/atmtest.c /tmp/atmtest
32 if [ -e "tc/m_gact.c" ]
35 echo "TC_CONFIG_ACTION_GACT=y" >>Config
36 echo "TC_CONFIG_ACTION_PROB=y" >>Config
39 if [ -e "tc/m_mirred.c" ]
42 echo "TC_CONFIG_ACTION_MIRRED=y" >>Config