system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
cmd: 

Direktori : /usr/local/src/libsodium-2.0.23/
Upload File :
Current File : //usr/local/src/libsodium-2.0.23/config.w32

// $Id$
// vim:ft=javascript

ARG_WITH("sodium", "for libsodium support", "no");

if (PHP_SODIUM != "no") {
    if (CHECK_LIB("libsodium.lib", "sodium", PHP_SODIUM) && CHECK_HEADER_ADD_INCLUDE("sodium.h", "CFLAGS_SODIUM")) {
        EXTENSION("sodium", "libsodium.c");
        AC_DEFINE('HAVE_LIBSODIUMLIB', 1 , 'Have the Sodium library');
        AC_DEFINE("HAVE_CRYPTO_AEAD_AES256GCM", 1, "");
        PHP_INSTALL_HEADERS("ext/sodium/", "php_libsodium.h");
    } else {
        WARNING("libsodium not enabled; libraries and headers not found");
    }
}