dsp                                      Tue, 26 Jul 2011 23:49:37 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=313752

Log:
Fix #55269 (--enable-dtrace fail on FreeBSD)

Bug: https://bugs.php.net/55269 (Assigned) --enable-dtrace fail on FreeBSD 
      
Changed paths:
    U   php/php-src/branches/PHP_5_4/acinclude.m4
    U   php/php-src/trunk/acinclude.m4

Modified: php/php-src/branches/PHP_5_4/acinclude.m4
===================================================================
--- php/php-src/branches/PHP_5_4/acinclude.m4   2011-07-26 23:47:21 UTC (rev 
313751)
+++ php/php-src/branches/PHP_5_4/acinclude.m4   2011-07-26 23:49:37 UTC (rev 
313752)
@@ -2923,6 +2923,10 @@

 dnl Add providerdesc.o into global objects when needed
   case $host_alias in
+  *freebsd*)
+    PHP_GLOBAL_OBJS="[$]PHP_GLOBAL_OBJS [$]ac_bdir[$]ac_provsrc.o"
+    PHP_LDFLAGS="$PHP_LDFLAGS -lelf"
+    ;;
   *solaris*)
     PHP_GLOBAL_OBJS="[$]PHP_GLOBAL_OBJS [$]ac_bdir[$]ac_provsrc.o"
     ;;

Modified: php/php-src/trunk/acinclude.m4
===================================================================
--- php/php-src/trunk/acinclude.m4      2011-07-26 23:47:21 UTC (rev 313751)
+++ php/php-src/trunk/acinclude.m4      2011-07-26 23:49:37 UTC (rev 313752)
@@ -2923,6 +2923,10 @@

 dnl Add providerdesc.o into global objects when needed
   case $host_alias in
+  *freebsd*)
+    PHP_GLOBAL_OBJS="[$]PHP_GLOBAL_OBJS [$]ac_bdir[$]ac_provsrc.o"
+    PHP_LDFLAGS="$PHP_LDFLAGS -lelf"
+    ;;
   *solaris*)
     PHP_GLOBAL_OBJS="[$]PHP_GLOBAL_OBJS [$]ac_bdir[$]ac_provsrc.o"
     ;;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to