From: Mark Huang Date: Mon, 18 Dec 2006 17:55:58 +0000 (+0000) Subject: disable pycurl build for fc2 (not supported anyway) X-Git-Tag: pycurl-7_13_1~181 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=b5b06202aed8346efb3fc62daccf0fa9f94fba22;p=plcapi.git disable pycurl build for fc2 (not supported anyway) --- diff --git a/Makefile b/Makefile index fe50b46e..1851f23b 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,22 @@ # Mark Huang # Copyright (C) 2005 The Trustees of Princeton University # -# $Id: Makefile,v 1.9 2006/12/15 16:19:49 mlhuang Exp $ +# $Id: Makefile,v 1.10 2006/12/15 16:20:20 mlhuang Exp $ # # Metafiles init := PLC/__init__.py PLC/Methods/__init__.py # Python modules -modules := psycopg2 pycurl +modules := psycopg2 + +# Temporarily until we can kill the Fedora Core 2 build +curl_vernum := $(shell printf %d 0x$(shell curl-config --vernum)) +pycurl_vernum := $(shell printf %d 0x070d01) # 7.13.1 +ifeq ($(shell test $(curl_vernum) -ge $(pycurl_vernum) && echo 1),1) +modules += pycurl +endif + modules-install := $(foreach module, $(modules), $(module)-install) modules-clean := $(foreach module, $(modules), $(module)-clean)