Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Getting tired

  • Loading branch information...
commit 5a0fd26c3c2d85dbc1a5151d02a87b9efb2fea43 1 parent d3a905d
@mkoppanen mkoppanen authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 config.m4
View
4 config.m4
@@ -11,7 +11,7 @@ if test "$PHP_PHPIREDIS" = "yes"; then
#
AC_MSG_CHECKING([for hiredis installation])
- if test "$PHP_HIREDIS_DIR" != "no" && test "$PHP_HIREDIS_DIR" != "yes"; then
+ if test "x$PHP_HIREDIS_DIR" != "xno" && test "x$PHP_HIREDIS_DIR" != "xyes"; then
if test -r "$PHP_HIREDIS_DIR/include/hiredis/hiredis.h"; then
HIREDIS_DIR=$PHP_HIREDIS_DIR
break
@@ -19,7 +19,7 @@ if test "$PHP_PHPIREDIS" = "yes"; then
else
for i in /usr/local /usr /opt /opt/local; do
if test -r "$i/include/hiredis/hiredis.h"; then
- HIREDIS_DIR=$PHP_HIREDIS_DIR
+ HIREDIS_DIR=$i
break
fi
done
Please sign in to comment.
Something went wrong with that request. Please try again.