Revisión | a0da4bb7d0cb1dcd9c53e836244a68b13a2b5266 (tree) |
---|---|
Tiempo | 2012-04-01 09:33:56 |
Autor | matsuand <matsuand@user...> |
Commiter | matsuand |
[BLFS] Updated curl.
@@ -15,7 +15,7 @@ fi | ||
15 | 15 | |
16 | 16 | echo Check Options... |
17 | 17 | . ./_checkOptions.sh openssl gnutls openldap heimdal libidn libssh2 \ |
18 | - c-ares | |
18 | + c-ares cacerts | |
19 | 19 | |
20 | 20 | if [ ${OPTION_libssh2} -eq "1" ]; then |
21 | 21 | export WITHSSH2="--with-libssh2 " |
@@ -23,6 +23,14 @@ else | ||
23 | 23 | export WITHSSH2="" |
24 | 24 | fi |
25 | 25 | |
26 | +if [ ${OPTION_gnutls} -eq "1" ]; then | |
27 | + export WITHGNUTLS="--without-ssl --with-gnutls " | |
28 | + export WITHCAPATH="" | |
29 | +else | |
30 | + export WITHGNUTLS="" | |
31 | + export WITHCAPATH="--with-ca-path=/etc/ssl/certs " | |
32 | +fi | |
33 | + | |
26 | 34 | cd $SRC |
27 | 35 | |
28 | 36 | echo $TARGET |
@@ -36,8 +44,8 @@ cd $TARGETDIR | ||
36 | 44 | |
37 | 45 | echo \ \ Configuring... |
38 | 46 | ./configure --prefix=/usr \ |
39 | - $WITHSSH2 \ | |
40 | - --with-ca-path=/etc/ssl/certs \ | |
47 | + $WITHSSH2 $WITHGNUTLS \ | |
48 | + $WITHCAPATH \ | |
41 | 49 | 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 |
42 | 50 | |
43 | 51 | echo \ \ Making... |