]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Clean up memset_s() detection a bit more.
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 25 Apr 2019 11:01:02 +0000 (13:01 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 25 Apr 2019 11:01:02 +0000 (13:01 +0200)
commit23bbe4c4bb9989a5aff5fac1b264bb59249f75f4
tree40954bbcb63888a175a3098376a40ab9cef9bdc9
parentf5caf4ed6a42a9c6f4f1fcaa66c631ed64fbc52c
Clean up memset_s() detection a bit more.

Definining __STDC_WANT_LIB_EXT1__ to get memset_s() is required by the C11
standard, not a Solaris-ism. It's no use just to check for its presence
in the library with AC_CHECK_FUNC() if it isn't going to compile, so make
sure we check for it with AC_LINK_IFELSE() *and* with the warning flags
that might include -Werror-implicit-function-declarations.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
configure.ac