mirror of
https://github.com/matrix-construct/construct
synced 2024-09-29 20:28:52 +02:00
configure: Add check for sodium header.
This commit is contained in:
parent
6dddf9135d
commit
7404aa0581
1 changed files with 1 additions and 0 deletions
|
@ -938,6 +938,7 @@ dnl libsodium (NaCl) crypto support
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
dnl PKG_CHECK_MODULES(SODIUM, [sodium], [have_sodium="yes"], [have_sodium="no"])
|
dnl PKG_CHECK_MODULES(SODIUM, [sodium], [have_sodium="yes"], [have_sodium="no"])
|
||||||
|
RB_CHK_SYSHEADER(sodium.h, [SODIUM_H])
|
||||||
AC_CHECK_LIB([sodium], sodium_init, [have_sodium="yes"], [have_sodium="no"])
|
AC_CHECK_LIB([sodium], sodium_init, [have_sodium="yes"], [have_sodium="no"])
|
||||||
AM_CONDITIONAL([SODIUM], [test "x$have_sodium" = "xyes"])
|
AM_CONDITIONAL([SODIUM], [test "x$have_sodium" = "xyes"])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue