--- a/configure +++ b/configure @@ -36,7 +36,8 @@ int main(int argc, char **argv) { } EOF - if $CC -I$INCLUDE -o $TMPDIR/atmtest $TMPDIR/atmtest.c -latm >/dev/null 2>&1; then +# OpenWrt: disable ATM support even if present on host system + if [ 1 -eq 0 ]; then echo "TC_CONFIG_ATM:=y" >>$CONFIG echo yes else