]> granicus.if.org Git - php/commitdiff
fix phpdbg build when src tree != build tree
authorRemi Collet <remi@php.net>
Tue, 28 Oct 2014 18:10:53 +0000 (19:10 +0100)
committerRemi Collet <remi@php.net>
Tue, 28 Oct 2014 18:12:41 +0000 (19:12 +0100)
config.m4

index 528abb5822bef7c6f72de68fe6d83da48b911bb7..b8aa8526c56f87fa43fdd3aebae5226241754d19 100644 (file)
--- a/config.m4
+++ b/config.m4
@@ -22,8 +22,8 @@ if test "$BUILD_PHPDBG" == "" && test "$PHP_PHPDBG" != "no"; then
   fi
 
   if test "$PHP_PHPDBG_WEBHELPER" != "no"; then
-    if ! test -d ext/phpdbg_webhelper; then
-      ln -s ../sapi/phpdbg ext/phpdbg_webhelper
+    if ! test -d $abs_srcdir/ext/phpdbg_webhelper; then
+      ln -s ../sapi/phpdbg $abs_srcdir/ext/phpdbg_webhelper
     fi
     if test "$PHP_JSON" != "no"; then
       PHP_NEW_EXTENSION(phpdbg_webhelper, phpdbg_rinit_hook.c phpdbg_webdata_transfer.c, $ext_shared)