]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
configure: drop test for ATM
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 22 Dec 2023 17:26:59 +0000 (09:26 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 22 Dec 2023 17:26:59 +0000 (09:26 -0800)
The ATM qdisc was removed by:
commit 8a20feb6388f ("tc: drop support for ATM qdisc")
but configure check was not removed.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
configure

index eb689341d17d0d053553f74aa1165c5f2bf499c2..488c5f880962aa546f840c77db53ee15a4f86f4c 100755 (executable)
--- a/configure
+++ b/configure
@@ -26,26 +26,6 @@ check_toolchain()
     echo "YACC:=${YACC}" >>$CONFIG
 }
 
-check_atm()
-{
-    cat >$TMPDIR/atmtest.c <<EOF
-#include <atm.h>
-int main(int argc, char **argv) {
-       struct atm_qos qos;
-       (void) text2qos("aal5,ubr:sdu=9180,rx:none",&qos,0);
-       return 0;
-}
-EOF
-
-    if $CC -I$INCLUDE -o $TMPDIR/atmtest $TMPDIR/atmtest.c -latm >/dev/null 2>&1; then
-       echo "TC_CONFIG_ATM:=y" >>$CONFIG
-       echo yes
-    else
-       echo no
-    fi
-    rm -f $TMPDIR/atmtest.c $TMPDIR/atmtest
-}
-
 check_xtables()
 {
        if ! ${PKG_CONFIG} xtables --exists; then
@@ -616,9 +596,6 @@ check_toolchain
 
 echo "TC schedulers"
 
-echo -n " ATM  "
-check_atm
-
 check_xtables
 if ! grep -q TC_CONFIG_NO_XT $CONFIG; then
        echo -n " IPT   "