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 sh...@apache.org on 2010/01/28 12:54:59 UTC
svn commit: r904045 - /webservices/axis2/trunk/c/configure.ac
Author: shankar
Date: Thu Jan 28 11:54:58 2010
New Revision: 904045
URL: http://svn.apache.org/viewvc?rev=904045&view=rev
Log:
fixing issue AXIS2C-1434
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=904045&r1=904044&r2=904045&view=diff
==============================================================================
--- webservices/axis2/trunk/c/configure.ac (original)
+++ webservices/axis2/trunk/c/configure.ac Thu Jan 28 11:54:58 2010
@@ -149,7 +149,8 @@
XPATH_DIR="xpath"
)
-GUTHTHILA_LIBS=""
+GUTHTHILA_LIBS=
+GUTHTHILA_DIR=
AC_MSG_CHECKING(whether to build guththila xml parser library)
AC_ARG_ENABLE(guththila, [ --enable-guththila
@@ -157,24 +158,26 @@
[ case "${enableval}" in
no)
AC_MSG_RESULT(no)
+ guththilla_enabled=no
;;
*)
AC_MSG_RESULT(yes)
- CFLAGS="$CFLAGS -DAXIS2_GUTHTHILA_ENABLED"
- CPPFLAGS="$CPPFLAGS -DAXIS2_GUTHTHILA_ENABLED"
- WRAPPER_DIR="guththila"
-
+ guththilla_enabled=yes
;;
- esac ],
+ esac ], [
AC_MSG_RESULT(yes)
- WRAPPER_DIR="guththila"
+ guththilla_enabled=yes
+])
+
+AS_IF([test $guththilla_enabled = yes], [
CFLAGS="$CFLAGS -DAXIS2_GUTHTHILA_ENABLED"
CPPFLAGS="$CPPFLAGS -DAXIS2_GUTHTHILA_ENABLED"
+ WRAPPER_DIR="guththila"
AC_CONFIG_SUBDIRS(guththila)
GUTHTHILA_LIBS="/guththila/src/"
GUTHTHILA_DIR="guththila"
-)
-
+])
+AS_UNSET(guththilla_enabled)
AC_MSG_CHECKING(whether to build libxml2 xml parser library)
AC_ARG_ENABLE(libxml2, [ --enable-libxml2