Permalink
Browse files

Show AC_MSG_RESULT

  • Loading branch information...
1 parent 5a0fd26 commit 3a5c023f6aaad6c267ea532841ab58ac0f9e72d8 @mkoppanen mkoppanen committed Oct 21, 2013
Showing with 5 additions and 2 deletions.
  1. +5 −2 config.m4
View
@@ -6,11 +6,12 @@ PHP_ARG_WITH(hiredis-dir, for hiredis library,
if test "$PHP_PHPIREDIS" = "yes"; then
+
+ AC_MSG_CHECKING([for hiredis installation])
+
#
# Caller wants to check this path specifically
#
- AC_MSG_CHECKING([for hiredis installation])
-
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
@@ -29,6 +30,8 @@ if test "$PHP_PHPIREDIS" = "yes"; then
AC_MSG_ERROR([not found])
fi
+ AC_MSG_RESULT([found in $HIREDIS_DIR])
+
PHP_ADD_LIBRARY_WITH_PATH(hiredis, [$HIREDIS_DIR/$PHP_LIBDIR], PHPIREDIS_SHARED_LIBADD)
PHP_ADD_INCLUDE([$HIREDIS_DIR/include])

0 comments on commit 3a5c023

Please sign in to comment.