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 pi...@apache.org on 2007/12/06 10:49:11 UTC
svn commit: r601674 - /webservices/axis2/trunk/c/configure.ac
Author: pini
Date: Thu Dec 6 01:49:10 2007
New Revision: 601674
URL: http://svn.apache.org/viewvc?rev=601674&view=rev
Log:
Added --with-archive option
Modified:
webservices/axis2/trunk/c/configure.ac
Modified: webservices/axis2/trunk/c/configure.ac
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/configure.ac?rev=601674&r1=601673&r2=601674&view=diff
==============================================================================
--- webservices/axis2/trunk/c/configure.ac (original)
+++ webservices/axis2/trunk/c/configure.ac Thu Dec 6 01:49:10 2007
@@ -104,6 +104,34 @@
dnl AC_FUNC_REALLOC
#AC_CHECK_FUNCS([memmove])
+AC_MSG_CHECKING(whether to use archive)
+AC_ARG_WITH(archive,
+[ --with-archive[=PATH] Find the zlib header files in 'PATH'.
+ If you omit the '=PATH' part completely, the configure script will search
+ '/usr/include/' for zlib headers.],
+[ case "$withval" in
+ no)
+ AC_MSG_RESULT(no)
+ ZLIBBUILD=""
+ zliblibs=""
+ ;;
+ *)
+ AC_MSG_RESULT(yes)
+ zliblibs="$(top_builddir)/src/minizip/libaxis2_minizip.la"
+ CFLAGS="$CFLAGS -DAXIS2_ARCHIVE_ENABLED"
+ if test -d $withval; then
+ zlibinc="-I$withval"
+ elif test -d '/usr/include'; then
+ zlibinc="-I/usr/include"
+ else
+ AC_MSG_ERROR(could not find zlib stop)
+ fi
+ ZLIBBUILD="minizip"
+ ;;
+ esac ],
+ AC_MSG_RESULT(no)
+)
+
AC_MSG_CHECKING(whether to build libxml2 xml parser library)
AC_ARG_ENABLE(libxml2, [ --enable-libxml2
build Libxml2 XML parser library wrapper (default=yes)],
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org