You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2005/10/18 07:12:21 UTC
svn commit: r326032 - in
/webservices/axis2/trunk/c/modules/xml/guththila/src: Makefile.am
Makefile.in guththila_buffer.h guththila_token.c guththila_xml_pull_parser.c
Author: samisa
Date: Mon Oct 17 22:12:09 2005
New Revision: 326032
URL: http://svn.apache.org/viewcvs?rev=326032&view=rev
Log:
Changes to make system to compile with APR
Modified:
webservices/axis2/trunk/c/modules/xml/guththila/src/Makefile.am
webservices/axis2/trunk/c/modules/xml/guththila/src/Makefile.in
webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_buffer.h
webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_token.c
webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c
Modified: webservices/axis2/trunk/c/modules/xml/guththila/src/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/guththila/src/Makefile.am?rev=326032&r1=326031&r2=326032&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/guththila/src/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/xml/guththila/src/Makefile.am Mon Oct 17 22:12:09 2005
@@ -1,5 +1,5 @@
lib_LTLIBRARIES = libguththila.la
-AM_CPPFLAGS = $(CPPFLAGS)
+AM_CPPFLAGS = $(CPPFLAGS) -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread
libguththila_la_SOURCES = guththila_token.c \
guththila_xml_pull_parser.c \
guththila_buffer.c \
@@ -10,4 +10,4 @@
guththila_reader.c
libguththila_la_LIBADD = $(LDFLAGS)
-INCLUDES = -I$(top_builddir)/include -I${CUTEST_HOME}/include
+INCLUDES = -I$(top_builddir)/include -I${CUTEST_HOME}/include -I${APR_HOME}/include/apr-1
Modified: webservices/axis2/trunk/c/modules/xml/guththila/src/Makefile.in
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/guththila/src/Makefile.in?rev=326032&r1=326031&r2=326032&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/guththila/src/Makefile.in (original)
+++ webservices/axis2/trunk/c/modules/xml/guththila/src/Makefile.in Mon Oct 17 22:12:09 2005
@@ -193,7 +193,7 @@
target_os = @target_os@
target_vendor = @target_vendor@
lib_LTLIBRARIES = libguththila.la
-AM_CPPFLAGS = $(CPPFLAGS)
+AM_CPPFLAGS = $(CPPFLAGS) -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread
libguththila_la_SOURCES = guththila_token.c \
guththila_xml_pull_parser.c \
guththila_buffer.c \
@@ -204,7 +204,7 @@
guththila_reader.c
libguththila_la_LIBADD = $(LDFLAGS)
-INCLUDES = -I$(top_builddir)/include -I${CUTEST_HOME}/include
+INCLUDES = -I$(top_builddir)/include -I${CUTEST_HOME}/include -I${APR_HOME}/include/apr-1
all: all-am
.SUFFIXES:
Modified: webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_buffer.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_buffer.h?rev=326032&r1=326031&r2=326032&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_buffer.h (original)
+++ webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_buffer.h Mon Oct 17 22:12:09 2005
@@ -36,4 +36,4 @@
void guththila_buffer_free (guththila_buffer_t *name);
guththila_buffer_t *guththila_buffer_grow (guththila_buffer_t *name);
-#endif // GUTHTHILA_BUFFER_H
+#endif /* GUTHTHILA_BUFFER_H */
Modified: webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_token.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_token.c?rev=326032&r1=326031&r2=326032&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_token.c (original)
+++ webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_token.c Mon Oct 17 22:12:09 2005
@@ -42,9 +42,10 @@
guththila_token_exception ()
{
printf ("Throws new token Exception");
- // Samisa : we should define the error code and error desctioption and return error code to user
- // no use of using printf within a library
- // please delete this comment once this is fixed.
+ /* Samisa : we should define the error code and error desctioption and return error code to user
+ no use of using printf within a library
+ please delete this comment once this is fixed.
+ */
}
@@ -298,5 +299,3 @@
}
return output_buffer;
}
-
-
Modified: webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c?rev=326032&r1=326031&r2=326032&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c (original)
+++ webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_xml_pull_parser.c Mon Oct 17 22:12:09 2005
@@ -65,10 +65,11 @@
guththila_xml_pull_parser_exception (char *file, int line)
{
printf ("Throws guththila_xml_pull_parser_exception \t %s \t %d \n", file, line);
- // Samisa: we should define a set of error codes and a corresponding error message set
- // rather than printing the above line to the console, we should be appending the
- // above string to the error message corresponding to the current error code
- // please delete this comment once this is fixed
+ /* Samisa: we should define a set of error codes and a corresponding error message set
+ rather than printing the above line to the console, we should be appending the
+ above string to the error message corresponding to the current error code
+ please delete this comment once this is fixed
+ */
}