Skip to content

Commit

Permalink
Merge pull request #1355 from sjinks/issue-1350
Browse files Browse the repository at this point in the history
Fix #1350
  • Loading branch information
Phalcon committed Oct 9, 2013
2 parents a01c8b7 + b7bf4a5 commit f90743d
Show file tree
Hide file tree
Showing 14 changed files with 4,461 additions and 4,155 deletions.
17 changes: 17 additions & 0 deletions build/32bits/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,23 @@ if test "$PHP_PHALCON" = "yes"; then
[[#include "php_config.h"]]
)

AC_CHECK_DECL(
[HAVE_HASH_EXT],
[
AC_CHECK_HEADERS(
[ext/hash/php_hash.h],
[
PHP_ADD_EXTENSION_DEP([phalcon], [hash])
AC_DEFINE([PHALCON_USE_PHP_HASH], [1], [Whether PHP hash extension is present at compile time])
],
,
[[#include "main/php.h"]]
)
],
,
[[#include "php_config.h"]]
)

CPPFLAGS=$old_CPPFLAGS

PHP_ADD_MAKEFILE_FRAGMENT
Expand Down
Loading

0 comments on commit f90743d

Please sign in to comment.