We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6be44b commit 0b684e5Copy full SHA for 0b684e5
config.w32
@@ -0,0 +1,14 @@
1
+ARG_ENABLE("xpass", "Enable xpass support", "no");
2
+
3
+if (PHP_XPASS != "no") {
4
+ if (CHECK_LIB("crypt.lib", "xpass", PHP_XPASS)
5
+ && CHECK_HEADER_ADD_INCLUDE("crypt.h", "CLFAGS_XPASS", PHP_XPASS)
6
+ && CHECK_LIB("bcrypt.lib", "xpass", PHP_XPASS)) {
7
+ AC_DEFINE("HAVE_XPASS", 1, "Have xpass support");
8
+ EXTENSION("xpass", "xpass.c");
9
+ AC_DEFINE("HAVE_CRYPT_YESCRYPT", 1, "Have yescrypt hash support");
10
+ AC_DEFINE("HAVE_CRYPT_SHA512", 1, "Have sha512 hash support");
11
+ } else {
12
+ WARNING("xpass not enabled; libraries and headers not found");
13
+ }
14
+}
0 commit comments