Skip to content

Commit

Permalink
Show AC_MSG_RESULT
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoppanen committed Oct 21, 2013
1 parent 5a0fd26 commit 3a5c023
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions config.m4
Expand Up @@ -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
Expand All @@ -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])

Expand Down

0 comments on commit 3a5c023

Please sign in to comment.