summaryrefslogtreecommitdiffstats
path: root/config.w32
diff options
context:
space:
mode:
Diffstat (limited to 'config.w32')
-rw-r--r--config.w323
1 files changed, 2 insertions, 1 deletions
diff --git a/config.w32 b/config.w32
index 5f8b6cf..06bb82e 100644
--- a/config.w32
+++ b/config.w32
@@ -2,12 +2,13 @@ ARG_ENABLE("xpass", "Enable xpass support", "no");
if (PHP_XPASS != "no") {
if (CHECK_LIB("crypt.lib", "xpass", PHP_XPASS)
- && CHECK_HEADER_ADD_INCLUDE("crypt.h", "CLFAGS_XPASS", PHP_XPASS)
+ && CHECK_HEADER_ADD_INCLUDE("crypt.h", "CFLAGS_XPASS", PHP_XPASS)
&& CHECK_LIB("bcrypt.lib", "xpass", PHP_XPASS)) {
AC_DEFINE("HAVE_XPASS", 1, "Have xpass support");
EXTENSION("xpass", "xpass.c");
AC_DEFINE("HAVE_CRYPT_YESCRYPT", 1, "Have yescrypt hash support");
AC_DEFINE("HAVE_CRYPT_SHA512", 1, "Have sha512 hash support");
+ AC_DEFINE("HAVE_CRYPT_SM3", 1, "Have SM3 hash support");
} else {
WARNING("xpass not enabled; libraries and headers not found");
}