0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-26 05:48:20 +02:00

configure: Add check for sodium header.

This commit is contained in:
Jason Volk 2018-07-30 15:07:35 -07:00
parent 6dddf9135d
commit 7404aa0581

View file

@ -938,6 +938,7 @@ dnl libsodium (NaCl) crypto support
dnl
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"])
AM_CONDITIONAL([SODIUM], [test "x$have_sodium" = "xyes"])