configure.ac: fix failing IPv6 check due to missing return type
authorIvan Babrou <github@ivan.computer>
Tue, 2 Jan 2024 03:31:01 +0000 (19:31 -0800)
committerAndrew Tridgell <andrew@tridgell.net>
Sat, 6 Apr 2024 21:46:47 +0000 (07:46 +1000)
commit0dd25d4752520ed405315f1d2a8454fd507631bb
treec9bfd7d3e3e78d629aa053e14d2e459158eeca25
parentae3e13ba99d0d6c1727ca7930b0eab5f60122ae0
configure.ac: fix failing IPv6 check due to missing return type

Fixing this warning escalated to an error, resuting in no IPv6 support:

```
configure.sh:7679: checking whether to enable ipv6
configure.sh:7718: clang -o conftest -g -O2 -DHAVE_CONFIG_H -Wall -W   conftest.c  >&5
conftest.c:73:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main()
^
int
1 error generated.
configure.sh:7718: $? = 1
configure.sh: program exited with status 1
```
configure.ac