#include "$1"
], [
]ifelse([$3],,int,[$3])[ _c = $2;
+ (void) _c;
], [
PECL_CACHE_VAR([HAVE_$1_$2])=yes
], [
CPPFLAGS="-I$PECL_CACHE_VAR([$1_prefix])/include"
LDFLAGS="-L$PECL_CACHE_VAR([$1_prefix])/$PHP_LIBDIR"
LIBS="-l$4"
-
+ PHP_EVAL_LIBLINE([$LDFLAGS $LIBS])
+
AC_CACHE_VAL(PECL_CACHE_VAR([$1_version]), [
pushd $PECL_CACHE_VAR([$1_prefix]) >/dev/null
PECL_CACHE_VAR([$1_version])=$5
PECL_CACHE_VAR([$1_libs])=$($2 $6)
])
LIBS=$PECL_CACHE_VAR([$1_libs])
+
+ PHP_EVAL_LIBLINE([$LDFLAGS $LIBS])
ifelse($2, [$PKG_CONFIG $1], [
fi
])