CFLAGS cleanup, HTTPD_FLAGS replaces httpd-specific cflags.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 22 Mar 2011 13:13:17 +0000 (13:13 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 22 Mar 2011 13:13:17 +0000 (13:13 +0000)
org.glite.lb/configure
org.gridsite.core/src/Makefile

index 136cfc2..52b932d 100755 (executable)
@@ -806,6 +806,8 @@ for my $ext (keys %deps_aux) {
        'gridsite.core' => {
                sl5_x86_64_gcc412 => { aprSuffix => '1' },
                sl5_ia32_gcc412 => { aprSuffix => '1' },
+               sl5_x86_64_gcc412EPEL => { aprSuffix => '1' },
+               sl5_ia32_gcc412EPEL => { aprSuffix => '1' },
                deb5_x86_64_gcc432 => { aprSuffix => '1.0' },
                deb5_ia32_gcc432 => { aprSuffix => '1.0' },
                slc4_x86_64_gcc346 => { aprSuffix => '0' },
index f912ad5..b45945c 100644 (file)
@@ -48,19 +48,20 @@ ifndef libdir
 export libdir=lib
 endif
 
+CURL_CFLAGS=`curl-config --cflags`
+CURL_LIBS=`curl-config --libs`
+XML2_CFLAGS=`xml2-config --cflags`
+XML2_LIBS=`xml2-config --libs`
+HTTPD_FLAGS=-I/usr/include/httpd -I/usr/include/apache2 -I/usr/include/apr-0 -I/usr/include/apr-1 -I/usr/include/apr-1.0
+
 ifndef MYCFLAGS
-export MYCFLAGS=-I. -I../interface -I/usr/include/httpd -I/usr/include/apache2 -I/usr/include/apr-0 -I/usr/include/apr-1 -I/usr/include/apr-1.0 -I/opt/glite/include -fPIC -DLINUX=2 -D_REENTRANT -D_LARGEFILE64_SOURCE $(HTTPD_FLAGS) 
+export MYCFLAGS=-I. -I../interface -fPIC -DLINUX=2 -D_REENTRANT -D_LARGEFILE64_SOURCE $(HTTPD_FLAGS) 
 endif
 
 ifndef MYLDFLAGS
 export MYLDFLAGS=-L.
 endif
 
-CURL_CFLAGS=`curl-config --cflags`
-CURL_LIBS=`curl-config --libs`
-XML2_CFLAGS=`xml2-config --cflags`
-XML2_LIBS=`xml2-config --libs`
-
 
 #
 # Build