]> git.pld-linux.org Git - packages/curl.git/commitdiff
- bcond for building with c-ares support (disables ipv6 though)
authorAdam Gołębiowski <adamg@pld-linux.org>
Sun, 23 Apr 2006 15:46:05 +0000 (15:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    curl.spec -> 1.118

curl.spec

index a5b99e892b7b0413e81ee5160e0b199952b5cbab..68210585a5cd7f4f77d0bbaabfd9d6e8515ee6ef 100644 (file)
--- a/curl.spec
+++ b/curl.spec
@@ -1,5 +1,6 @@
 #
 # Conditional build:
+%bcond_with    ares    # with c-ares (asynchronous DNS operations) library (disables IPv6)
 %bcond_without ssl     # without SSL support
 %bcond_without heimdal # without HEIMDAL support
 #
@@ -22,6 +23,7 @@ Patch2:               %{name}-heimdal.patch
 URL:           http://curl.haxx.se/
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake
+%{?with_ares:BuildRequires:    c-ares-devel}
 %{?with_heimdal:BuildRequires: heimdal-devel >= 0.7}
 BuildRequires: libidn-devel >= 0.4.1
 BuildRequires: libtool
@@ -164,7 +166,8 @@ Bibliotecas est
        %{?with_ssl:--with-ssl=%{_prefix}} \
        %{?with_ssl:--with-ca-bundle=/usr/share/ssl/ca-bundle.crt} \
        %{?with_heimdal:--with-gssapi=%{_prefix}} \
-       --with-ipv6
+       %{?with_ares:--enable-ares=%{_prefix}} \
+       --%{?with_ares:dis}%{!?with_ares:en}able-ipv6
 
 %{__make}
 
This page took 0.340989 seconds and 4 git commands to generate.