]> The Tcpdump Group git mirrors - tcpdump/commit
configure: use AC_COMPILE_IFELSE() and AC_LANG_SOURCE() for testing flags.
authorGuy Harris <[email protected]>
Sun, 25 Jul 2021 10:02:54 +0000 (03:02 -0700)
committerGuy Harris <[email protected]>
Sun, 25 Jul 2021 10:02:54 +0000 (03:02 -0700)
commita917017bc0e68fa600e5d5fd1a724456053f9e4b
tree7551b3df569938e9764f52a05a0eee48d5877036
parent95ae3ed835f5b3f285bef75fe7913a58df9461aa
configure: use AC_COMPILE_IFELSE() and AC_LANG_SOURCE() for testing flags.

That lets us completely control the program that's compiled with the
compiler flag we're testing, so we can make it a minimal program that
uses only prototype declarations and that therefore won't generate
warnings with some -W flags, e.g. -Wold-style-definition, and thus won't
falsely report those flags as unsupported.
aclocal.m4
configure