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 sa...@apache.org on 2007/04/15 13:52:00 UTC

svn commit: r528967 - in /webservices/axis2/trunk/c: build/win32/makefile configure.ac src/Makefile.am src/modules/Makefile.am

Author: samisa
Date: Sun Apr 15 04:51:58 2007
New Revision: 528967

URL: http://svn.apache.org/viewvc?view=rev&rev=528967
Log:
Added src/modules to build system

Added:
    webservices/axis2/trunk/c/src/modules/Makefile.am
Modified:
    webservices/axis2/trunk/c/build/win32/makefile
    webservices/axis2/trunk/c/configure.ac
    webservices/axis2/trunk/c/src/Makefile.am

Modified: webservices/axis2/trunk/c/build/win32/makefile
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/build/win32/makefile?view=diff&rev=528967&r1=528966&r2=528967
==============================================================================
--- webservices/axis2/trunk/c/build/win32/makefile (original)
+++ webservices/axis2/trunk/c/build/win32/makefile Sun Apr 15 04:51:58 2007
@@ -172,7 +172,7 @@
 
 AXIS2_HTTP_RECEIVER_SRC = $(AXIS2_SOURCE_DIR)\src\core\transport\http\receiver\*.c 
 
-AXIS2_MOD_ADDR_SRC = $(AXIS2_SOURCE_DIR)\src\mod_addr\*.c
+AXIS2_MOD_ADDR_SRC = $(AXIS2_SOURCE_DIR)\src\modules\mod_addr\*.c
 
 GUTHTHILA_SRC = $(AXIS2_SOURCE_DIR)\guththila\src\*.c
 
@@ -317,7 +317,7 @@
 	$(CC) $(CFLAGS) $(AXIS2_MOD_ADDR_SRC) /Fo$(AXIS2_INTDIR_ADDRESSING)\ /c
 	$(LD) $(LDFLAGS) $(AXIS2_INTDIR_ADDRESSING)\*.obj $(AXUTIL).lib $(AXIOM).lib $(AXIS2_PARSER).lib \
 	$(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_MODULES)\addressing\$(AXIS2_MOD_ADDR).dll
-	copy $(AXIS2_SOURCE_DIR)\src\mod_addr\module.xml $(AXIS2_MODULES)\addressing
+	copy $(AXIS2_SOURCE_DIR)\src\modules\mod_addr\module.xml $(AXIS2_MODULES)\addressing
 
 
 
@@ -373,11 +373,11 @@
 	if not exist $(AXIS2_INTDIR_SAMPLES)\mod_log mkdir $(AXIS2_INTDIR_SAMPLES)\mod_log
 	if not exist $(AXIS2_SAMPLES)\logging mkdir $(AXIS2_SAMPLES)\logging
 
-	$(CC) $(CFLAGS)  $(AXIS2_SOURCE_DIR)\src\mod_log\*.c /Fo$(AXIS2_INTDIR_SAMPLES)\mod_log\ /c
+	$(CC) $(CFLAGS)  $(AXIS2_SOURCE_DIR)\src\modules\mod_log\*.c /Fo$(AXIS2_INTDIR_SAMPLES)\mod_log\ /c
 	$(LD) $(LDFLAGS) $(AXIS2_INTDIR_SAMPLES)\mod_log\*.obj $(AXUTIL).lib $(AXIOM).lib \
 	$(AXIS2_PARSER).lib $(LIBS) $(AXIS2_ENGINE).lib /DLL /OUT:$(AXIS2_SAMPLES)\logging\axis2_mod_log.dll 
 	
-	copy $(AXIS2_SOURCE_DIR)\src\mod_log\module.xml $(AXIS2_SAMPLES)\logging
+	copy $(AXIS2_SOURCE_DIR)\src\modules\mod_log\module.xml $(AXIS2_SAMPLES)\logging
 
 #sample services
 

Modified: webservices/axis2/trunk/c/configure.ac
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/configure.ac?view=diff&rev=528967&r1=528966&r2=528967
==============================================================================
--- webservices/axis2/trunk/c/configure.ac (original)
+++ webservices/axis2/trunk/c/configure.ac Sun Apr 15 04:51:58 2007
@@ -1,362 +1,363 @@
-dnl run autogen.sh to generate the configure script.
-
-AC_PREREQ(2.59)
-
-AC_INIT(axis2c-src, 1.0.0)
-AC_CANONICAL_SYSTEM
-AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE([tar-ustar])
-AC_PREFIX_DEFAULT(/usr/local/axis2c)
-
-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 check for flavours of varargs macros (test from GLib)
-AC_MSG_CHECKING(for ISO C99 varargs macros in C)
-AC_TRY_COMPILE([],[
-int a(int p1, int p2, int p3);
-#define call_a(...) a(1,__VA_ARGS__)
-call_a(2,3);
-],axis2c_have_iso_c_varargs=yes,axis2c_have_iso_c_varargs=no)
-AC_MSG_RESULT($axis2c_have_iso_c_varargs)
-
-AC_MSG_CHECKING(for GNUC varargs macros)
-AC_TRY_COMPILE([],[
-int a(int p1, int p2, int p3);
-#define call_a(params...) a(1,params)
-call_a(2,3);
-],axis2c_have_gnuc_varargs=yes,axis2c_have_gnuc_varargs=no)
-AC_MSG_RESULT($axis2c_have_gnuc_varargs)
-
-dnl Output varargs tests
-if test x$axis2c_have_iso_c_varargs = xyes; then
-    AC_DEFINE(HAVE_ISO_VARARGS,1,[Have ISO C99 varargs macros])
-fi
-if test x$axis2c_have_gnuc_varargs = xyes; then
-    AC_DEFINE(HAVE_GNUC_VARARGS,1,[Have GNU-style varargs macros])
-fi
-
-dnl Checks for libraries.
-AC_CHECK_LIB(dl, dlopen)
-AC_CHECK_LIB(z, inflate)
-
-if test -d $srcdir/util; then
-    AC_CONFIG_SUBDIRS(util)
-fi
-
-if test -d $srcdir/axiom; then
-    AC_CONFIG_SUBDIRS(axiom)
-fi
-
-#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 -Werror -Wno-implicit-function-declaration -g"
-#    CFLAGS="$CFLAGS -ansi -Wall -Wno-implicit-function-declaration"
-fi
-LDFLAGS="$LDFLAGS -lpthread"
-
-dnl Checks for header files.
-AC_HEADER_STDC
-AC_CHECK_HEADERS([stdio.h stdlib.h string.h])
-AC_CHECK_HEADERS([sys/socket.h])
-AC_CHECK_HEADERS([net/if.h], [], [],
-[#include <stdio.h>
-#if STDC_HEADERS
-# include <stdlib.h>
-# include <stddef.h>
-#else
-# if HAVE_STDLIB_H
-# include <stdlib.h>
-# endif
-#endif
-#if HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif
-])
-AC_CHECK_HEADERS([linux/if.h],[],[],
-[
-#if HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif
-])
-AC_CHECK_HEADERS([net/if_types.h])
-AC_CHECK_HEADERS([net/if_dl.h])
-
-dnl This is a check to see if we are running MacOS X
-dnl It may be better to do a Darwin check
-AC_CHECK_HEADERS([sys/appleapiopts.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_MSG_CHECKING(whether to build libxml2 xml parser library)
-AC_ARG_ENABLE(libxml2, [  --enable-libxml2    build libxml2 xml parser library wrapper. default=yes],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    WRAPPER_DIR=""
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    WRAPPER_DIR="libxml2"
-    PKG_CHECK_MODULES(PARSER, libxml-2.0)
+dnl run autogen.sh to generate the configure script.
+
+AC_PREREQ(2.59)
+
+AC_INIT(axis2c-src, 1.0.0)
+AC_CANONICAL_SYSTEM
+AM_CONFIG_HEADER(config.h)
+AM_INIT_AUTOMAKE([tar-ustar])
+AC_PREFIX_DEFAULT(/usr/local/axis2c)
+
+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 check for flavours of varargs macros (test from GLib)
+AC_MSG_CHECKING(for ISO C99 varargs macros in C)
+AC_TRY_COMPILE([],[
+int a(int p1, int p2, int p3);
+#define call_a(...) a(1,__VA_ARGS__)
+call_a(2,3);
+],axis2c_have_iso_c_varargs=yes,axis2c_have_iso_c_varargs=no)
+AC_MSG_RESULT($axis2c_have_iso_c_varargs)
+
+AC_MSG_CHECKING(for GNUC varargs macros)
+AC_TRY_COMPILE([],[
+int a(int p1, int p2, int p3);
+#define call_a(params...) a(1,params)
+call_a(2,3);
+],axis2c_have_gnuc_varargs=yes,axis2c_have_gnuc_varargs=no)
+AC_MSG_RESULT($axis2c_have_gnuc_varargs)
+
+dnl Output varargs tests
+if test x$axis2c_have_iso_c_varargs = xyes; then
+    AC_DEFINE(HAVE_ISO_VARARGS,1,[Have ISO C99 varargs macros])
+fi
+if test x$axis2c_have_gnuc_varargs = xyes; then
+    AC_DEFINE(HAVE_GNUC_VARARGS,1,[Have GNU-style varargs macros])
+fi
+
+dnl Checks for libraries.
+AC_CHECK_LIB(dl, dlopen)
+AC_CHECK_LIB(z, inflate)
+
+if test -d $srcdir/util; then
+    AC_CONFIG_SUBDIRS(util)
+fi
+
+if test -d $srcdir/axiom; then
+    AC_CONFIG_SUBDIRS(axiom)
+fi
+
+#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 -Werror -Wno-implicit-function-declaration -g"
+#    CFLAGS="$CFLAGS -ansi -Wall -Wno-implicit-function-declaration"
+fi
+LDFLAGS="$LDFLAGS -lpthread"
+
+dnl Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS([stdio.h stdlib.h string.h])
+AC_CHECK_HEADERS([sys/socket.h])
+AC_CHECK_HEADERS([net/if.h], [], [],
+[#include <stdio.h>
+#if STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# if HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#if HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
+])
+AC_CHECK_HEADERS([linux/if.h],[],[],
+[
+#if HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
+])
+AC_CHECK_HEADERS([net/if_types.h])
+AC_CHECK_HEADERS([net/if_dl.h])
+
+dnl This is a check to see if we are running MacOS X
+dnl It may be better to do a Darwin check
+AC_CHECK_HEADERS([sys/appleapiopts.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_MSG_CHECKING(whether to build libxml2 xml parser library)
+AC_ARG_ENABLE(libxml2, [  --enable-libxml2    build libxml2 xml parser library wrapper. default=yes],
+[ 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"
-    LDFLAGS="$LDFLAGS $PARSER_LIBS"
-    ;;
-  esac ],
-  AC_MSG_RESULT(yes)
-  WRAPPER_DIR="libxml2"
-)
-
-
-GUTHTHILA_LIBS=""
-
-AC_MSG_CHECKING(whether to build guththila xml parser library)
-AC_ARG_ENABLE(guththila, [  --enable-guththila    build guththila xml parser library wrapper. default=no],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    WRAPPER_DIR="guththila"
-    if test -d $srcdir/guththila; then
-        AC_CONFIG_SUBDIRS(guththila)
-    fi
-
-    GUTHTHILA_LIBS="/guththila/src/"
-    GUTHTHILA_DIR="guththila"
-
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-)
-
-AC_MSG_CHECKING(whether to use apache2 as server transport)
-AC_ARG_WITH(apache2,
-[  --with-apache2[=PATH]      use apache2 as server transport.],
-[ case "$withval" in
-  no)
-    AC_MSG_RESULT(no)
-    APACHE2BUILD=""
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    dnl Find apache2 include dir in the path pointed by APACHE2_HOME env variable
-    if test -d $withval; then
-        apache2inc="-I$withval"
-    dnl else find the apache2 include dir in /usr/local/apache2
-    elif test -d '/usr/include/apache2'; then
-        apache2inc="-I/usr/include/apache2"
-    else
-        AC_MSG_ERROR(could not find apache2. stop)
-    fi
-    APACHE2BUILD="apache2"
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-)
-
-AC_MSG_CHECKING(whether to use apr. Note that if you build with apache2 you might need to do this.)
-AC_ARG_WITH(apr,
-[  --with-apr[=PATH]      use apr.],
-[ case "$withval" in
-  no)
-    AC_MSG_RESULT(no)
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    dnl Find apr include dir in the path
-    if test -d $withval; then
-        aprinc="-I$withval"
-    dnl else find the apache2 include dir in /usr/local/apache2
-    elif test -d '/usr/include/apr-0'; then
-        aprinc="-I/usr/include/apr-0"
-    else
-        AC_MSG_ERROR(could not find apr. stop)
-    fi
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-)
-
-AC_MSG_CHECKING(whether to build tests)
-AC_ARG_ENABLE(tests, [  --enable-tests    build tests. default=yes],
-[ case "${enableval}" in
-  yes)
-    AC_MSG_RESULT(yes)
-    TESTDIR="test"
-    ;;
-  *)
-    AC_MSG_RESULT(no)
-    TESTDIR=""
-
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-  TESTDIR=""
-)
-
-
-AC_MSG_CHECKING(whether to enable trace)
-AC_ARG_ENABLE(trace, [  --enable-trace    enable trace. default=no],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    CFLAGS="$CFLAGS"
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    CFLAGS="$CFLAGS -DAXIS2_TRACE"
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-  CFLAGS="$CFLAGS"
-)
-
-AC_MSG_CHECKING(whether to enable multi threading)
-AC_ARG_ENABLE(multi-thread, [  --enable-multi-thread  enable multi thread. default=yes],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    CFLAGS="$CFLAGS"
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    CFLAGS="$CFLAGS -DAXIS2_SVR_MULTI_THREADED"
-    ;;
-  esac ],[
-  AC_MSG_RESULT(yes)
-  CFLAGS="$CFLAGS -DAXIS2_SVR_MULTI_THREADED"]
-)
-
-AC_MSG_CHECKING(whether to use openssl)
-AC_ARG_ENABLE(openssl, [  --enable-openssl  enable ssl. default=no],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    CFLAGS="$CFLAGS"
-    ssl_enabled=false
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    CFLAGS="$CFLAGS -DAXIS2_SSL_ENABLED"
-    ssl_enabled=true
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-  CFLAGS="$CFLAGS"
-)
-
-AC_MSG_CHECKING(whether to use libcurl)
-AC_ARG_ENABLE(libcurl, [  --enable-libcurl  enable libcurl. default=no],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    CFLAGS="$CFLAGS"
-    libcurl_enabled=false
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    CFLAGS="$CFLAGS -DAXIS2_LIBCURL_ENABLED"
-    libcurl_enabled=true
-    ;;
-  esac ],
-  AC_MSG_RESULT(no)
-  CFLAGS="$CFLAGS"
-)
-
-
-AC_MSG_CHECKING(whether to build dynamic invocation client library)
-AC_ARG_ENABLE(diclient, [  --enable-diclient    build diclient library wrapper. default=no],
-[ case "${enableval}" in
-  no)
-    AC_MSG_RESULT(no)
-    DICLIENT_DIR=""
-    ;;
-  *)
-    AC_MSG_RESULT(yes)
-    DICLIENT_DIR="diclient"
-
-    ;;
-  esac ],
-  AC_MSG_RESULT(yes)
-  DICLIENT_DIR="diclient"
-)
-
-
-
-APACHE2INC=$apache2inc
-APRINC=$aprinc
-
-AC_SUBST(PARSER_LIBS)
-AC_SUBST(APACHE2INC)
-AC_SUBST(APRINC)
-AC_SUBST(DICLIENT_DIR)
-AC_SUBST(TESTDIR)
-AC_SUBST(SAMPLES)
-AC_SUBST(APACHE2BUILD)
-AC_SUBST(PARSER_DIR)
-AC_SUBST(WRAPPER_DIR)
-AC_SUBST(GUTHTHILA_DIR)
-AC_SUBST(GUTHTHILA_LIBS)
-AM_CONDITIONAL(AXIS2_SSL_ENABLED, test x$ssl_enabled = xtrue)
-AM_CONDITIONAL(AXIS2_LIBCURL_ENABLED, test x$libcurl_enabled = xtrue)
-#export PARSER_DIR
-export WRAPPER_DIR
-export prefix 
-
-AC_CONFIG_FILES([Makefile \
-    src/Makefile \
-    src/core/Makefile \
-    src/core/description/Makefile \
-    src/core/context/Makefile \
-    src/core/engine/Makefile \
-    src/core/addr/Makefile \
-    src/core/phaseresolver/Makefile \
-    src/core/transport/Makefile \
-    src/core/transport/http/Makefile \
-    src/core/transport/http/common/Makefile \
-    src/core/transport/http/util/Makefile \
-    src/core/transport/http/sender/Makefile \
-    src/core/transport/http/sender/ssl/Makefile \
-    src/core/transport/http/sender/libcurl/Makefile \
-    src/core/transport/http/receiver/Makefile \
-    src/core/transport/http/server/simple_axis2_server/Makefile \
-    src/core/transport/http/server/Makefile \
-    src/core/transport/http/server/apache2/Makefile \
-    src/core/deployment/Makefile \
-    src/core/clientapi/Makefile \
-    src/core/receivers/Makefile \
-    src/core/util/Makefile \
-    src/mod_addr/Makefile \
-    src/mod_log/Makefile \
-    test/Makefile \
-    test/core/Makefile \
-    test/core/description/Makefile \
-    test/core/clientapi/Makefile \
-    test/core/deployment/Makefile \
-    test/core/context/Makefile \
-    test/core/engine/Makefile \
-    test/core/addr/Makefile \
-    test/core/transport/Makefile\
-    test/core/transport/http/Makefile \
-    ides/Makefile \
-    ides/anjuta/Makefile \
-    include/Makefile \
-    axis2c.pc
-    ])
-    
-AC_OUTPUT
+    LDFLAGS="$LDFLAGS $PARSER_LIBS"
+    ;;
+  esac ],
+  AC_MSG_RESULT(yes)
+  WRAPPER_DIR="libxml2"
+)
+
+
+GUTHTHILA_LIBS=""
+
+AC_MSG_CHECKING(whether to build guththila xml parser library)
+AC_ARG_ENABLE(guththila, [  --enable-guththila    build guththila xml parser library wrapper. default=no],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    WRAPPER_DIR="guththila"
+    if test -d $srcdir/guththila; then
+        AC_CONFIG_SUBDIRS(guththila)
+    fi
+
+    GUTHTHILA_LIBS="/guththila/src/"
+    GUTHTHILA_DIR="guththila"
+
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+)
+
+AC_MSG_CHECKING(whether to use apache2 as server transport)
+AC_ARG_WITH(apache2,
+[  --with-apache2[=PATH]      use apache2 as server transport.],
+[ case "$withval" in
+  no)
+    AC_MSG_RESULT(no)
+    APACHE2BUILD=""
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    dnl Find apache2 include dir in the path pointed by APACHE2_HOME env variable
+    if test -d $withval; then
+        apache2inc="-I$withval"
+    dnl else find the apache2 include dir in /usr/local/apache2
+    elif test -d '/usr/include/apache2'; then
+        apache2inc="-I/usr/include/apache2"
+    else
+        AC_MSG_ERROR(could not find apache2. stop)
+    fi
+    APACHE2BUILD="apache2"
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+)
+
+AC_MSG_CHECKING(whether to use apr. Note that if you build with apache2 you might need to do this.)
+AC_ARG_WITH(apr,
+[  --with-apr[=PATH]      use apr.],
+[ case "$withval" in
+  no)
+    AC_MSG_RESULT(no)
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    dnl Find apr include dir in the path
+    if test -d $withval; then
+        aprinc="-I$withval"
+    dnl else find the apache2 include dir in /usr/local/apache2
+    elif test -d '/usr/include/apr-0'; then
+        aprinc="-I/usr/include/apr-0"
+    else
+        AC_MSG_ERROR(could not find apr. stop)
+    fi
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+)
+
+AC_MSG_CHECKING(whether to build tests)
+AC_ARG_ENABLE(tests, [  --enable-tests    build tests. default=yes],
+[ case "${enableval}" in
+  yes)
+    AC_MSG_RESULT(yes)
+    TESTDIR="test"
+    ;;
+  *)
+    AC_MSG_RESULT(no)
+    TESTDIR=""
+
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+  TESTDIR=""
+)
+
+
+AC_MSG_CHECKING(whether to enable trace)
+AC_ARG_ENABLE(trace, [  --enable-trace    enable trace. default=no],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    CFLAGS="$CFLAGS"
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    CFLAGS="$CFLAGS -DAXIS2_TRACE"
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+  CFLAGS="$CFLAGS"
+)
+
+AC_MSG_CHECKING(whether to enable multi threading)
+AC_ARG_ENABLE(multi-thread, [  --enable-multi-thread  enable multi thread. default=yes],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    CFLAGS="$CFLAGS"
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    CFLAGS="$CFLAGS -DAXIS2_SVR_MULTI_THREADED"
+    ;;
+  esac ],[
+  AC_MSG_RESULT(yes)
+  CFLAGS="$CFLAGS -DAXIS2_SVR_MULTI_THREADED"]
+)
+
+AC_MSG_CHECKING(whether to use openssl)
+AC_ARG_ENABLE(openssl, [  --enable-openssl  enable ssl. default=no],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    CFLAGS="$CFLAGS"
+    ssl_enabled=false
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    CFLAGS="$CFLAGS -DAXIS2_SSL_ENABLED"
+    ssl_enabled=true
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+  CFLAGS="$CFLAGS"
+)
+
+AC_MSG_CHECKING(whether to use libcurl)
+AC_ARG_ENABLE(libcurl, [  --enable-libcurl  enable libcurl. default=no],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    CFLAGS="$CFLAGS"
+    libcurl_enabled=false
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    CFLAGS="$CFLAGS -DAXIS2_LIBCURL_ENABLED"
+    libcurl_enabled=true
+    ;;
+  esac ],
+  AC_MSG_RESULT(no)
+  CFLAGS="$CFLAGS"
+)
+
+
+AC_MSG_CHECKING(whether to build dynamic invocation client library)
+AC_ARG_ENABLE(diclient, [  --enable-diclient    build diclient library wrapper. default=no],
+[ case "${enableval}" in
+  no)
+    AC_MSG_RESULT(no)
+    DICLIENT_DIR=""
+    ;;
+  *)
+    AC_MSG_RESULT(yes)
+    DICLIENT_DIR="diclient"
+
+    ;;
+  esac ],
+  AC_MSG_RESULT(yes)
+  DICLIENT_DIR="diclient"
+)
+
+
+
+APACHE2INC=$apache2inc
+APRINC=$aprinc
+
+AC_SUBST(PARSER_LIBS)
+AC_SUBST(APACHE2INC)
+AC_SUBST(APRINC)
+AC_SUBST(DICLIENT_DIR)
+AC_SUBST(TESTDIR)
+AC_SUBST(SAMPLES)
+AC_SUBST(APACHE2BUILD)
+AC_SUBST(PARSER_DIR)
+AC_SUBST(WRAPPER_DIR)
+AC_SUBST(GUTHTHILA_DIR)
+AC_SUBST(GUTHTHILA_LIBS)
+AM_CONDITIONAL(AXIS2_SSL_ENABLED, test x$ssl_enabled = xtrue)
+AM_CONDITIONAL(AXIS2_LIBCURL_ENABLED, test x$libcurl_enabled = xtrue)
+#export PARSER_DIR
+export WRAPPER_DIR
+export prefix 
+
+AC_CONFIG_FILES([Makefile \
+    src/Makefile \
+    src/core/Makefile \
+    src/core/description/Makefile \
+    src/core/context/Makefile \
+    src/core/engine/Makefile \
+    src/core/addr/Makefile \
+    src/core/phaseresolver/Makefile \
+    src/core/transport/Makefile \
+    src/core/transport/http/Makefile \
+    src/core/transport/http/common/Makefile \
+    src/core/transport/http/util/Makefile \
+    src/core/transport/http/sender/Makefile \
+    src/core/transport/http/sender/ssl/Makefile \
+    src/core/transport/http/sender/libcurl/Makefile \
+    src/core/transport/http/receiver/Makefile \
+    src/core/transport/http/server/simple_axis2_server/Makefile \
+    src/core/transport/http/server/Makefile \
+    src/core/transport/http/server/apache2/Makefile \
+    src/core/deployment/Makefile \
+    src/core/clientapi/Makefile \
+    src/core/receivers/Makefile \
+    src/core/util/Makefile \
+    src/modules/Makefile \
+    src/modules/mod_addr/Makefile \
+    src/modules/mod_log/Makefile \
+    test/Makefile \
+    test/core/Makefile \
+    test/core/description/Makefile \
+    test/core/clientapi/Makefile \
+    test/core/deployment/Makefile \
+    test/core/context/Makefile \
+    test/core/engine/Makefile \
+    test/core/addr/Makefile \
+    test/core/transport/Makefile\
+    test/core/transport/http/Makefile \
+    ides/Makefile \
+    ides/anjuta/Makefile \
+    include/Makefile \
+    axis2c.pc
+    ])
+    
+AC_OUTPUT

Modified: webservices/axis2/trunk/c/src/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/Makefile.am?view=diff&rev=528967&r1=528966&r2=528967
==============================================================================
--- webservices/axis2/trunk/c/src/Makefile.am (original)
+++ webservices/axis2/trunk/c/src/Makefile.am Sun Apr 15 04:51:58 2007
@@ -1 +1 @@
-SUBDIRS = core mod_addr mod_log
+SUBDIRS = core modules

Added: webservices/axis2/trunk/c/src/modules/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/modules/Makefile.am?view=auto&rev=528967
==============================================================================
--- webservices/axis2/trunk/c/src/modules/Makefile.am (added)
+++ webservices/axis2/trunk/c/src/modules/Makefile.am Sun Apr 15 04:51:58 2007
@@ -0,0 +1 @@
+SUBDIRS = mod_addr mod_log



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