From: Marc Fiuczynski Date: Sun, 14 Oct 2007 18:11:35 +0000 (+0000) Subject: Only build pycurl for older Fedora releases. X-Git-Tag: PLCAPI-4.2-0~64 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7e1d74475eeeaace32a4be23e679cca6b3780b74;p=plcapi.git Only build pycurl for older Fedora releases. --- diff --git a/Makefile b/Makefile index ee4855a2..09ab7727 100644 --- a/Makefile +++ b/Makefile @@ -16,9 +16,12 @@ 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 +pycurl_incompatnum := $(shell printf %d 0x071000) # 7.16.0 ifeq ($(shell test $(curl_vernum) -ge $(pycurl_vernum) && echo 1),1) +ifeq ($(shell test $(curl_vernum) -ge $(pycurl_incompatnum) && echo 0),1) modules += pycurl endif +endif modules-install := $(foreach module, $(modules), $(module)-install) modules-clean := $(foreach module, $(modules), $(module)-clean)