Révision | 2f9f660f2594cd6b948a1f6c65f31d99c30d875a (tree) |
---|---|
l'heure | 2012-03-23 19:38:01 |
Auteur | matsuand <matsuand@user...> |
Commiter | matsuand |
[BLFS] Modified gnutls.
@@ -11,7 +11,8 @@ echo Check Required... | ||
11 | 11 | ./_checkRequired.sh libgcrypt nettle || exit 1 |
12 | 12 | |
13 | 13 | echo Check Options... |
14 | -. ./_checkOptions.sh gaa guile libtasn1 libcfg+ valgrind lzo p11-kit | |
14 | +. ./_checkOptions.sh gaa guile libtasn1 libcfg+ valgrind lzo p11-kit \ | |
15 | + pkg-config | |
15 | 16 | |
16 | 17 | if [ ${OPTION_lzo} -eq "1" ]; then |
17 | 18 | export WITHLZO="--with-lzo " |
@@ -25,6 +26,12 @@ else | ||
25 | 26 | export WITHP11KIT="--without-p11-kit " |
26 | 27 | fi |
27 | 28 | |
29 | +if [ ${OPTION_pkgconfig} -eq "1" ]; then | |
30 | + P11KITLIB="" | |
31 | +else | |
32 | + P11KITLIB="P11_KIT_CFLAGS=-I/usr/include P11_KIT_LIBS=-L/usr/lib " | |
33 | +fi | |
34 | + | |
28 | 35 | cd $SRC |
29 | 36 | |
30 | 37 | echo $TARGET |
@@ -40,6 +47,7 @@ echo \ \ Configuring... | ||
40 | 47 | ./configure --prefix=/usr \ |
41 | 48 | $WITHLZO \ |
42 | 49 | $WITHP11KIT \ |
50 | + $P11KITLIB \ | |
43 | 51 | 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1 |
44 | 52 | |
45 | 53 | echo \ \ Making... |