You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2006/05/17 14:30:38 UTC
svn commit: r407234 - in /webservices/axis2/trunk/c/modules/xml: autogen.sh
build.sh configure.ac
Author: damitha
Date: Wed May 17 05:30:38 2006
New Revision: 407234
URL: http://svn.apache.org/viewcvs?rev=407234&view=rev
Log:
Added new build files
Added:
webservices/axis2/trunk/c/modules/xml/autogen.sh (with props)
webservices/axis2/trunk/c/modules/xml/build.sh (with props)
webservices/axis2/trunk/c/modules/xml/configure.ac
Added: webservices/axis2/trunk/c/modules/xml/autogen.sh
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/autogen.sh?rev=407234&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/autogen.sh (added)
+++ webservices/axis2/trunk/c/modules/xml/autogen.sh Wed May 17 05:30:38 2006
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+for i in libtoolize aclocal autoconf autoheader
+do
+ echo -n "Running $i..."
+ $i || exit 1
+ echo 'done.'
+done
+
+echo -n 'Running automake...'
+automake --add-missing
+echo 'done.'
+exit 0
+
Propchange: webservices/axis2/trunk/c/modules/xml/autogen.sh
------------------------------------------------------------------------------
svn:executable = *
Added: webservices/axis2/trunk/c/modules/xml/build.sh
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/build.sh?rev=407234&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/build.sh (added)
+++ webservices/axis2/trunk/c/modules/xml/build.sh Wed May 17 05:30:38 2006
@@ -0,0 +1,4 @@
+#!/bin/bash
+./autogen.sh
+./configure --enable-static=no
+make
Propchange: webservices/axis2/trunk/c/modules/xml/build.sh
------------------------------------------------------------------------------
svn:executable = *
Added: webservices/axis2/trunk/c/modules/xml/configure.ac
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/configure.ac?rev=407234&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/configure.ac (added)
+++ webservices/axis2/trunk/c/modules/xml/configure.ac Wed May 17 05:30:38 2006
@@ -0,0 +1,50 @@
+dnl run autogen.sh to generate the configure script.
+
+AC_PREREQ(2.59)
+
+AC_INIT(axis2_axiom-src, 0.91_pre)
+AC_CANONICAL_SYSTEM
+AM_CONFIG_HEADER(config.h)
+AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+AC_PREFIX_DEFAULT(/usr/local/axis2_axiom)
+
+dnl Checks for programs.
+AC_PROG_CC
+AC_PROG_CXX
+AC_PROG_CPP
+AM_PROG_LIBTOOL
+AC_PROG_INSTALL
+AC_PROG_LN_S
+AC_PROG_MAKE_SET
+
+dnl Checks for libraries.
+AC_CHECK_LIB(dl, dlopen)
+
+CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
+if test "$GCC" = "yes"; then
+ CFLAGS="$CFLAGS -ansi -Wall -Wno-implicit-function-declaration"
+fi
+LDFLAGS="-lpthread"
+
+dnl Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS([stdio.h stdlib.h string.h])
+
+dnl Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+
+dnl Checks for library functions.
+AC_FUNC_MALLOC
+AC_FUNC_REALLOC
+#AC_CHECK_FUNCS([memmove])
+
+AC_CONFIG_FILES([Makefile \
+ parser/Makefile \
+ parser/libxml2/Makefile \
+ soap/Makefile \
+ om/Makefile \
+ attachments/Makefile
+
+ ])
+
+AC_OUTPUT