Rebase from upstream commit : 3bb9dcf44627ffdd313fe92c563ae454b6ff8aa6
[librecmc/librecmc.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 +# libreCMC: 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