axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r354323 - /webservices/axis2/trunk/c/bindings/php/axis2/config.m4
Date Tue, 06 Dec 2005 05:42:54 GMT
Author: samisa
Date: Mon Dec  5 21:42:38 2005
New Revision: 354323

URL: http://svn.apache.org/viewcvs?rev=354323&view=rev
Log:
Added mistakenly removed m4 file

Added:
    webservices/axis2/trunk/c/bindings/php/axis2/config.m4

Added: webservices/axis2/trunk/c/bindings/php/axis2/config.m4
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/bindings/php/axis2/config.m4?rev=354323&view=auto
==============================================================================
--- webservices/axis2/trunk/c/bindings/php/axis2/config.m4 (added)
+++ webservices/axis2/trunk/c/bindings/php/axis2/config.m4 Mon Dec  5 21:42:38 2005
@@ -0,0 +1,30 @@
+dnl $Id$
+dnl config.m4 for extension axis2
+
+PHP_ARG_WITH(axis2, for axis2 support,
+ [  --with-axis2             Include axis2 support])
+
+if test "$PHP_AXIS2" != "no"; then
+  if test -z "$AXIS2C_HOME"; then
+    AC_MSG_RESULT([not found])
+    AC_MSG_ERROR(Cannot find Axis2C home. Plese set AXIS2C_HOME env variable.)
+  fi
+
+  dnl # --with-axis2 -> add include path
+  PHP_ADD_INCLUDE($AXIS2C_HOME/include)
+  PHP_ADD_INCLUDE($AXIS2C_HOME/modules/util/src)
+  PHP_ADD_INCLUDE($AXIS2C_HOME/modules/xml/parser)
+
+
+  dnl # --with-axis2 -> check for lib and symbol presence
+
+  PHP_ADD_LIBRARY_WITH_PATH(axis2_util, $AXIS2C_HOME/install/lib, AXIS2_SHARED_LIBADD)
+  PHP_ADD_LIBRARY_WITH_PATH(axis2_libxml2, $AXIS2C_HOME/install/lib, AXIS2_SHARED_LIBADD)
+  PHP_ADD_LIBRARY_WITH_PATH(axis2_om, $AXIS2C_HOME/install/lib, AXIS2_SHARED_LIBADD)
+
+  PHP_SUBST(AXIS2_SHARED_LIBADD)
+
+  PHP_NEW_EXTENSION(axis2, [axis2.c om_doctype.c om_namespace.c om_processing_instruction.c
qname.c \
+                            om_attribute.c om_document.c om_node.c om_stax_builder.c xml_reader.c
\
+                            om_comment.c om_element.c om_output.c om_text.c xml_writer.c],
$ext_shared)
+fi



Mime
View raw message