iproute2: fix broken configuration patch
[openwrt/staging/wigyori.git] / package / network / utils / iproute2 / patches / 100-configure.patch
1 --- a/configure
2 +++ b/configure
3 @@ -32,7 +32,8 @@ int main(int argc, char **argv) {
4 }
5 EOF
6
7 - if $CC -I$INCLUDE -o $TMPDIR/atmtest $TMPDIR/atmtest.c -latm >/dev/null 2>&1; then
8 +# OpenWrt: disable ATM support even if present on host system
9 + if [ 1 -eq 0 ]; then
10 echo "TC_CONFIG_ATM:=y" >>$CONFIG
11 echo yes
12 else