From d251b5aa3d23803d016ca16818e2e1d2f2b70a02 Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Wed, 2 Nov 2011 16:54:57 +0100
Subject: [PATCH] Upstream-status: Inappriate

---
 sapi/cli/config.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sapi/cli/config.m4 b/sapi/cli/config.m4
index 2168151..20a81db 100644
--- a/sapi/cli/config.m4
+++ b/sapi/cli/config.m4
@@ -50,7 +50,7 @@ if test "$PHP_CLI" != "no"; then
   esac
 
   dnl Set executable for tests
-  PHP_EXECUTABLE="\$(top_builddir)/\$(SAPI_CLI_PATH)"
+  PHP_EXECUTABLE="${PHP_NATIVE_DIR}/php"
   PHP_SUBST(PHP_EXECUTABLE)
 
   dnl Expose to Makefile
