From: Jani Taskinen Date: Thu, 18 Nov 2010 16:02:37 +0000 (+0000) Subject: - One more fix for bug #53338 (when copying stuff from other macros, do it all the... X-Git-Tag: php-5.4.0alpha1~191^2~637 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15c9da1149b01f7700df5b3dc8ab346dc6d85ec2;p=php - One more fix for bug #53338 (when copying stuff from other macros, do it all the way.. :) --- diff --git a/acinclude.m4 b/acinclude.m4 index 2fa14d88d3..cad22bf508 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2903,9 +2903,9 @@ dnl AC_DEFUN([PHP_INIT_DTRACE],[ dnl Set paths properly when called from extension case "$4" in - ""[)] unset ac_bdir;; - /*[)] ac_bdir=$ac_srcdir;; - *[)] extdir=PHP_EXT_DIR($3); ac_bdir="$extdir/";; + ""[)] ac_srcdir="$abs_srcdir/"; unset ac_bdir;; + /*[)] ac_srcdir=`echo "$4"|cut -c 2-`"/"; ac_bdir=$ac_srcdir;; + *[)] ac_srcdir="$abs_srcdir/$1/"; ac_bdir="$4/";; esac dnl providerdesc