From: Andrew McNab Date: Mon, 10 Apr 2006 15:12:19 +0000 (+0000) Subject: Relocatable httpd build patch X-Git-Tag: gridsite-core_R_1_1_19~82 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=6fa7f451fdf3abb4eae1434ea0574df960edf056;p=jra1mw.git Relocatable httpd build patch --- diff --git a/org.gridsite.core/CHANGES b/org.gridsite.core/CHANGES index e0fc482..e37c332 100644 --- a/org.gridsite.core/CHANGES +++ b/org.gridsite.core/CHANGES @@ -1,3 +1,6 @@ +* Mon Apr 10 2006 Andrew McNab +- Patch from Alberto di Meglio + to allow use of relocated httpd include files. * Mon Apr 3 2006 Andrew McNab - Use dist for building tar balls * Mon Apr 3 2006 Andrew McNab diff --git a/org.gridsite.core/project/configure.properties.xml b/org.gridsite.core/project/configure.properties.xml index 6cc728b..44d8dac 100644 --- a/org.gridsite.core/project/configure.properties.xml +++ b/org.gridsite.core/project/configure.properties.xml @@ -4,6 +4,6 @@ + value="prefix=${stage.abs.dir} GSOAPDIR=${ext.gsoap.subdir} OPENSSL_GLOBUS_FLAGS=-I${with.globus.prefix}/include/${with.globus.dbg.nothr.flavor} OPENSSL_GLOBUS_LIBS=-L${with.globus.prefix}/lib/ FLAVOR_GLOBUS_EXT=_${with.globus.dbg.nothr.flavor} HTTPD_FLAGS=${with.httpd.prefix}/include/httpd" /> diff --git a/org.gridsite.core/src/Makefile b/org.gridsite.core/src/Makefile index 6fee567..978e343 100644 --- a/org.gridsite.core/src/Makefile +++ b/org.gridsite.core/src/Makefile @@ -44,8 +44,12 @@ ifndef prefix export prefix=/usr/local endif +ifndef HTTPD_FLAGS +export HTTPD_FLAGS=/usr/include/httpd +endif + ifndef MYCFLAGS -export MYCFLAGS=-I. -I../interface -I/usr/include/httpd -I/usr/include/apr-0 -I/opt/glite/include -fPIC +export MYCFLAGS=-I. -I../interface -I$(HTTPD_FLAGS) -I/usr/include/apr-0 -I/opt/glite/include -fPIC endif ifndef MYLDFLAGS