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 2008/04/16 09:32:50 UTC

svn commit: r648583 - /webservices/axis2/trunk/c/axiom/configure.ac

Author: pini
Date: Wed Apr 16 00:32:50 2008
New Revision: 648583

URL: http://svn.apache.org/viewvc?rev=648583&view=rev
Log:
Added DAXIS2_LIBXML2_ENABLED 

Modified:
    webservices/axis2/trunk/c/axiom/configure.ac

Modified: webservices/axis2/trunk/c/axiom/configure.ac
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/configure.ac?rev=648583&r1=648582&r2=648583&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/configure.ac (original)
+++ webservices/axis2/trunk/c/axiom/configure.ac Wed Apr 16 00:32:50 2008
@@ -79,39 +79,42 @@
 dnl AC_FUNC_REALLOC
 #AC_CHECK_FUNCS([memmove])
 
-AC_MSG_CHECKING(whether to build libxml2 xml parser library)
-AC_ARG_ENABLE(libxml2, [  --enable-libxml2    build libxml2 xml parser library wrapper. default=no],
+
+
+AC_MSG_CHECKING(whether to build guththila xml parser library)
+AC_ARG_ENABLE(guththila, [  --enable-guththila    build guththila xml parser library wrapper. default=yes],
 [ case "${enableval}" in
   no)
     AC_MSG_RESULT(no)
-    WRAPPER_DIR=""
     ;;
   *)
     AC_MSG_RESULT(yes)
-    WRAPPER_DIR="libxml2"
+    WRAPPER_DIR="guththila"
 
     ;;
   esac ],
-  AC_MSG_RESULT(no)
+  AC_MSG_RESULT(yes)
+  WRAPPER_DIR="guththila"
 )
 
-AC_MSG_CHECKING(whether to build guththila xml parser library)
-AC_ARG_ENABLE(guththila, [  --enable-guththila    build guththila xml parser library wrapper. default=yes],
+AC_MSG_CHECKING(whether to build libxml2 xml parser library)
+AC_ARG_ENABLE(libxml2, [  --enable-libxml2    build libxml2 xml parser library wrapper. default=no],
 [ case "${enableval}" in
   no)
     AC_MSG_RESULT(no)
     ;;
   *)
     AC_MSG_RESULT(yes)
-    CFLAGS="$CFLAGS -DAXIS2_GUTHTHILA_ENABLED"
-    WRAPPER_DIR="guththila"
+    CFLAGS="$CFLAGS -DAXIS2_LIBXML2_ENABLED"
+    WRAPPER_DIR="libxml2"
+	PKG_CHECK_MODULES(LIBXML2, libxml-2.0)
 
     ;;
   esac ],
-  AC_MSG_RESULT(yes)
-  WRAPPER_DIR="guththila"
+  AC_MSG_RESULT(no)
 )
 
+
 AC_MSG_CHECKING(whether to build tests)
 AC_ARG_ENABLE(tests, [  --enable-tests    build tests. default=no],
 [ case "${enableval}" in
@@ -130,7 +133,6 @@
 )
 
 PKG_PROG_PKG_CONFIG(0.15)
-PKG_CHECK_MODULES(LIBXML2, libxml-2.0)
 CFLAGS="$CFLAGS $LIBXML2_CFLAGS $GUTHTHILA_CFLAGS"
 VERSION_NO="3:1:3"
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org