Pārlūkot izejas kodu

fix building under platforms where the vendor provides an ENGINE-enabled OpenSSL (like RedHat)

Ralf S. Engelschall 24 gadi atpakaļ
vecāks
revīzija
0bcf24601a
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      curl/curl.spec

+ 3 - 1
curl/curl.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
 Group:        Web
 License:      GPL
 Version:      7.9.8
-Release:      20020614
+Release:      20020816
 
 #   list of sources
 Source0:      http://curl.haxx.se/download/curl-%{version}.tar.bz2
@@ -57,11 +57,13 @@ AutoReqProv:  no
     %setup -q
 
 %build
+    echo 'ac_cv_header_openssl_engine_h=no' >config.cache
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O} -I%{l_prefix}/include" \
     CPPFLAGS="-I%{l_prefix}/include" \
     LDFLAGS="-L%{l_prefix}/lib" \
     ./configure \
+        --cache-file=config.cache \
         --prefix=$RPM_BUILD_ROOT%{l_prefix} \
         --with-ssl=%{l_prefix} \
         --disable-shared