Build from scratch on SL4/64bit.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 24 Oct 2008 15:29:17 +0000 (15:29 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 24 Oct 2008 15:29:17 +0000 (15:29 +0000)
org.glite.lb.client/examples/job_status.c
org.glite.lb.client/examples/multiple_user_jobs.c
org.glite.lb.client/examples/user_jobs.c
org.glite.lb.client/examples/user_jobs_threaded.c
org.glite.lb.client/src/ServerConnection.cpp
org.glite.lb.client/src/consumer.c
org.glite.lb.common/Makefile
org.glite.lb.common/interface/xml_conversions.h
org.glite.lb.common/test/test_main.cpp

index 5ffa072..cc30d25 100644 (file)
@@ -6,8 +6,6 @@
 #include <errno.h>
 #include <time.h>
 
-#include <expat.h>
-
 #include "glite/lb/context-int.h"
 #include "consumer.h"
 #include "glite/lb/xml_conversions.h"
index 80a350a..4c38c21 100644 (file)
@@ -2,8 +2,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include <expat.h>
-
 #include "glite/lb/context.h"
 #include "glite/lb/xml_conversions.h"
 #include "consumer.h"
index a593e08..918625c 100644 (file)
@@ -4,8 +4,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include <expat.h>
-
 #include "glite/lb/context.h"
 #include "glite/lb/xml_conversions.h"
 #include "consumer.h"
index a144106..fbe0f71 100644 (file)
@@ -6,8 +6,6 @@
 #include <unistd.h>
 #include <getopt.h>
 
-#include <expat.h>
-
 #include <pthread.h>
 
 #include "glite/lb/context.h"
index d890cf5..76111ad 100644 (file)
@@ -12,8 +12,6 @@
 #include <errno.h>
 #include <stdio.h>
 
-#include <expat.h>
-
 #include "glite/jobid/JobId.h"
 #include "glite/lb/context-int.h"
 #include "glite/lb/xml_conversions.h"
index 37d95d3..73de913 100644 (file)
@@ -7,8 +7,6 @@
 #include <unistd.h>
 #include <assert.h>
 
-#include <expat.h>
-
 #include "glite/jobid/cjobid.h"
 #include "glite/lb/context-int.h"
 #include "glite/lb/mini_http.h"
index ea74ab3..a1f8357 100644 (file)
@@ -51,17 +51,18 @@ CFLAGS:=${DEBUG} -I${top_srcdir}/src -I${top_srcdir}/interface \
        -DDATAGRID_EXTENSION ${LB_STANDALONE_FLAGS} \
        -DBUILDING_LB_COMMON 
 
-ifneq (${expat_prefix},/usr)
-       EXPAT_LIBS:=-L${expat_prefix}/lib
-endif
-EXPAT_LIBS:=${EXPAT_LIBS} -lexpat
-
 archlib:=lib
 host_cpu:=${shell uname -m}
 ifeq (${host_cpu},x86_64)
     archlib:=lib64
 endif
 
+ifneq (${expat_prefix},/usr)
+       EXPAT_LIBS:=-L${expat_prefix}/${archlib} -L${expat_prefix}/lib
+endif
+
+EXPAT_LIBS:=${EXPAT_LIBS} -lexpat
+
 ifneq (${classads_prefix},/usr)
         classadslib := -L${classads_prefix}/${archlib} -L${classads_prefix}/lib 
 endif
index 2c9910d..792e487 100644 (file)
@@ -3,8 +3,6 @@
 
 #ident "$Header$"
 
-#include <expat.h>
-
 #include "glite/jobid/cjobid.h"
 
 #ifdef BUILDING_LB_COMMON
@@ -34,7 +32,7 @@ enum edg_wll_QueryType {
 
 typedef struct _edg_wll_XML_ctx {
        edg_wll_Context ctx;                    
-        XML_Parser      p;
+        void           *p;
        char            *message_body;          /* copy of pointer to data to be parsed */              
         edg_wll_EventCode   eventCode;          /* code of processed event */
         int             position;               /* row index in the result list */
index 1caa44e..9aedf97 100644 (file)
@@ -8,7 +8,11 @@
 #include <cppunit/TestResult.h>
 #include <cppunit/TestResultCollector.h>
 
-#include <glite/lb/connpool.h>
+#ifdef BUILDING_LB_COMMON
+#include "connpool.h"
+#else
+#include "glite/lb/connpool.h"
+#endif
 
 int main (int argc,const char *argv[])
 {