mirror of
https://github.com/matrix-construct/construct
synced 2024-09-27 19:28:52 +02:00
configure: Document why we use AC_CHECK_LIB inside PKG_CHECK_MODULES here. [ci skip]
This commit is contained in:
parent
55e2ac98ce
commit
3794c3e7df
1 changed files with 2 additions and 0 deletions
|
@ -1078,6 +1078,8 @@ PKG_CHECK_MODULES(SODIUM, libsodium,
|
|||
have_sodium="yes"
|
||||
AC_DEFINE([HAVE_SODIUM], [1], [Have libsodium])
|
||||
], [
|
||||
dnl NOTE that PKG_CHECK_MODULES is preferred, but on some systems it gives
|
||||
dnl a false negative and we end up here with an AC_CHECK_LIB fallback.
|
||||
RB_CHK_SYSHEADER(sodium.h, [SODIUM_H])
|
||||
AC_CHECK_LIB([sodium], sodium_init,
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue