view config.m4 @ 10:130a6a714966 default tip

Use libsodium instead of libnacl
author Ivo Smits <Ivo@UCIS.nl>
date Thu, 10 Jul 2014 16:34:04 +0000
parents 96c976fb3c3d
children
line wrap: on
line source

PHP_ARG_WITH(nacl, for nacl support,
Make sure that the comment is aligned:
[  --with-nacl             Include nacl support])

if test "$PHP_NACL" != "no"; then
  PHP_SUBST(NACL_SHARED_LIBADD)
  PHP_ADD_LIBRARY(sodium, 1, NACL_SHARED_LIBADD)
  PHP_NEW_EXTENSION(nacl, nacl.c, $ext_shared)
fi