axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r407521 - in /webservices/axis2/trunk/c/util: autogen.sh configure.ac
Date Thu, 18 May 2006 11:07:30 GMT
Author: damitha
Date: Thu May 18 04:07:29 2006
New Revision: 407521

URL: http://svn.apache.org/viewvc?rev=407521&view=rev
Log:
build files added

Added:
    webservices/axis2/trunk/c/util/autogen.sh   (with props)
    webservices/axis2/trunk/c/util/configure.ac

Added: webservices/axis2/trunk/c/util/autogen.sh
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/autogen.sh?rev=407521&view=auto
==============================================================================
--- webservices/axis2/trunk/c/util/autogen.sh (added)
+++ webservices/axis2/trunk/c/util/autogen.sh Thu May 18 04:07:29 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/util/autogen.sh
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/util/configure.ac
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/configure.ac?rev=407521&view=auto
==============================================================================
--- webservices/axis2/trunk/c/util/configure.ac (added)
+++ webservices/axis2/trunk/c/util/configure.ac Thu May 18 04:07:29 2006
@@ -0,0 +1,55 @@
+dnl run autogen.sh to generate the configure script.
+
+AC_PREREQ(2.59)
+
+AC_INIT(axis2_util-src, 0.92)
+AC_CANONICAL_SYSTEM
+AM_CONFIG_HEADER(config.h)
+AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+AC_PREFIX_DEFAULT(/usr/local/axis2_util)
+
+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)
+AC_CHECK_LIB(cutest, CuTestInit)
+AC_CHECK_LIB(z, inflate)
+
+#CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE -Wno-implicit-function-declaration"
+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])
+AC_CHECK_HEADERS([linux/if.h],[],[],
+[
+#include <sys/socket.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 \
+    platforms/unix/Makefile \
+    minizip/Makefile \
+    include/Makefile \
+    ])
+    
+AC_OUTPUT



Mime
View raw message