Permalink
Browse files

Getting tired

  • Loading branch information...
1 parent d3a905d commit 5a0fd26c3c2d85dbc1a5151d02a87b9efb2fea43 @mkoppanen mkoppanen committed Oct 21, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 config.m4
View
@@ -11,15 +11,15 @@ 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
fi
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

0 comments on commit 5a0fd26

Please sign in to comment.