From 3898e2afea696e8f2d3aa6460ebbd6362f3b6e56 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 13 Oct 2017 21:47:23 +0800 Subject: [PATCH] update --- config.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.m4 b/config.m4 index a5eee1b..5b802f7 100644 --- a/config.m4 +++ b/config.m4 @@ -15,13 +15,13 @@ if test "$PHP_OPENCV" != "no"; then SEARCH_PATH="/usr/lib/pkgconfig /usr/local/lib/pkgconfig" # you might want to change this SEARCH_FOR="opencv.pc" # you most likely want to change this - if test -r $PHP_TCLIP/$SEARCH_FOR; then # path given as parameter - TCLIP_DIR=$PHP_TCLIP + if test -r $PHP_OPENCV/$SEARCH_FOR; then # path given as parameter + PHP_OPENCV_DIR=$PHP_OPENCV else # search default path list AC_MSG_CHECKING([for opencv.pc file in default path]) for i in $SEARCH_PATH ; do if test -r $i/$SEARCH_FOR; then - TCLIP_DIR=$i + PHP_OPENCV_DIR=$i AC_MSG_RESULT(found in $i) fi done