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 di...@apache.org on 2008/04/30 06:25:23 UTC

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

Author: dimuthu
Date: Tue Apr 29 21:25:22 2008
New Revision: 652255

URL: http://svn.apache.org/viewvc?rev=652255&view=rev
Log:
Correcting some bugs occurs when --enable-libxml2 is provided (hope this time svn work)

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=652255&r1=652254&r2=652255&view=diff
==============================================================================
--- webservices/axis2/trunk/c/configure.ac (original)
+++ webservices/axis2/trunk/c/configure.ac Tue Apr 29 21:25:22 2008
@@ -131,30 +131,11 @@
   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=no)],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    WRAPPER_DIR=""
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    WRAPPER_DIR="libxml2"
-    PKG_CHECK_MODULES(PARSER, libxml-2.0)
-    CFLAGS="$CFLAGS $PARSER_CFLAGS -DAXIS2_LIBXML2_ENABLED"
-    LDFLAGS="$LDFLAGS $PARSER_LIBS"
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-)
-
 
 GUTHTHILA_LIBS=""
 
 AC_MSG_CHECKING(whether to build guththila xml parser library)
-AC_ARG_ENABLE(guththila, [  --enable-guththila    
+AC_ARG_ENABLE(guththila, [  --enable-guththila
                           build Guththila XML parser library wrapper (default=yes)],
 [ case "${enableval}" in
   no)
@@ -164,16 +145,38 @@
     AC_MSG_RESULT(yes)
     CFLAGS="$CFLAGS -DAXIS2_GUTHTHILA_ENABLED"
     WRAPPER_DIR="guththila"
-   
+
     ;;
   esac ],
   AC_MSG_RESULT(yes)
   WRAPPER_DIR="guththila"
+  CFLAGS="$CFLAGS -DAXIS2_GUTHTHILA_ENABLED"
   AC_CONFIG_SUBDIRS(guththila)
   GUTHTHILA_LIBS="/guththila/src/"
   GUTHTHILA_DIR="guththila"
 )
 
+
+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)
+    WRAPPER_DIR=""
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    WRAPPER_DIR="libxml2"
+    PKG_CHECK_MODULES(PARSER, libxml-2.0)
+    CFLAGS="$CFLAGS $PARSER_CFLAGS -DAXIS2_LIBXML2_ENABLED"
+    LDFLAGS="$LDFLAGS $PARSER_LIBS"
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+)
+
+
 AC_MSG_CHECKING(whether to build tcp transport)
 AC_ARG_ENABLE(tcp, [  --enable-tcp
                           build tcp transport (default=no)],



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