]> git.ipfire.org Git - thirdparty/bacula.git/commit
Fix org#2666 About fixing getaddrinfo check in ./configure
authorEric Bollengier <eric@baculasystems.com>
Tue, 10 Jan 2023 17:17:51 +0000 (18:17 +0100)
committerEric Bollengier <eric@baculasystems.com>
Tue, 10 Jan 2023 17:20:58 +0000 (18:20 +0100)
commite9a855d9de3339c90565cd76ae25a0f75e6664ec
tree5cd7e6bf86096ca372b87b6749d2cb63ff961ccf
parentc665a3b15c2d260cafa20ec97c51400c05ab794d
Fix org#2666 About fixing getaddrinfo check in ./configure

Thanks to Florian Weimer

The exit function is not declared in this context, so the check will always
fail with compilers which do not accept implicit function declarations. Change
the return type of main to int and return directly from main instead.
bacula/autoconf/configure.in