Skip to content

Commit 053e05d

Browse files
committed
config.m4 PHP openssl parameters
1 parent 76c143f commit 053e05d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

config.m4

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,12 @@ if test "$PHP_XLSWRITER" != "no"; then
9696
done
9797

9898
if test -z "$OPENSSL_DIR"; then
99-
AC_MSG_ERROR([openssl library not found])
99+
PHP_SETUP_OPENSSL(XLSWRITER_SHARED_LIBADD,
100+
[
101+
AC_DEFINE(USE_OPENSSL_MD5, 1, [ use openssl md5 ])
102+
], [
103+
AC_MSG_ERROR([openssl library not found])
104+
])
100105
else
101106
PHP_ADD_INCLUDE($OPENSSL_DIR/include)
102107

0 commit comments

Comments
 (0)