Skip to content

Commit

Permalink
config.m4 PHP openssl parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
viest committed May 14, 2023
1 parent 76c143f commit 053e05d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,12 @@ if test "$PHP_XLSWRITER" != "no"; then
done

if test -z "$OPENSSL_DIR"; then
AC_MSG_ERROR([openssl library not found])
PHP_SETUP_OPENSSL(XLSWRITER_SHARED_LIBADD,
[
AC_DEFINE(USE_OPENSSL_MD5, 1, [ use openssl md5 ])
], [
AC_MSG_ERROR([openssl library not found])
])
else
PHP_ADD_INCLUDE($OPENSSL_DIR/include)

Expand Down

0 comments on commit 053e05d

Please sign in to comment.