[xdebug-dev] xdebug xdebug/config.m4 - Link in libm for the systems that need it (AIX).

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Tue, 19 Dec 2006 17:16:12 +0100

Date: Tue Dec 19 17:16:12 CET 2006
User: Derick Rethans
Directory: xdebug

Log Message:
[0.50]
- Link in libm for the systems that need it (AIX).

Modified files:
           xdebug/config.m4 (version: 1.25)

[FILE: /xdebug/config.m4]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- xdebug/config.m4:1.24 Wed Oct 25 10:50:50 2006 GMT
+++ xdebug/config.m4 Tue Dec 19 15:16:12 2006 GMT
@@ -1,4 +1,4 @@
-dnl $Id: cvstemp,v 1.24 2006/10/25 12:50:50 derick Exp $
+dnl $Id: cvstemp,v 1.25 2006/12/19 16:16:12 derick Exp $
 dnl config.m4 for extension xdebug
 
 PHP_ARG_ENABLE(xdebug, whether to enable eXtended debugging support,
@@ -9,7 +9,6 @@
 dnl much out.
   CFLAGS=`echo $CFLAGS | sed 's/O2/O0/'`
   
- PHP_NEW_EXTENSION(xdebug, xdebug.c xdebug_code_coverage.c xdebug_com.c xdebug_compat.c xdebug_handler_dbgp.c xdebug_handler_gdb.c xdebug_handler_php3.c xdebug_handlers.c xdebug_llist.c xdebug_hash.c xdebug_private.c xdebug_profiler.c xdebug_set.c xdebug_str.c xdebug_superglobals.c xdebug_var.c xdebug_xml.c usefulstuff.c, $ext_shared)
   AC_DEFINE(HAVE_XDEBUG,1,[ ])
 
 dnl Check for new current_execute_data field in zend_executor_globals
@@ -24,7 +23,11 @@
   )
   AC_CHECK_FUNCS(gettimeofday)
 
+ PHP_CHECK_LIBRARY(m, cos, [ PHP_ADD_LIBRARY(m,, XDEBUG_SHARED_LIBADD) ])
+
   CPPFLAGS=$old_CPPFLAGS
 
   PHP_ADD_MAKEFILE_FRAGMENT
+ PHP_SUBST(XDEBUG_SHARED_LIBADD)
+ PHP_NEW_EXTENSION(xdebug, xdebug.c xdebug_code_coverage.c xdebug_com.c xdebug_compat.c xdebug_handler_dbgp.c xdebug_handler_gdb.c xdebug_handler_php3.c xdebug_handlers.c xdebug_llist.c xdebug_hash.c xdebug_private.c xdebug_profiler.c xdebug_set.c xdebug_str.c xdebug_superglobals.c xdebug_var.c xdebug_xml.c usefulstuff.c, $ext_shared)
 fi
Received on Tue Dec 19 2006 - 17:49:09 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST