blob: 826fbc42f383e735cbe82b6d21f26a1ca01b23e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#!/bin/sh
CONF_CRYPTO=""
CONF_OBJSTORE=""
case $CRYPTO in
botan)
CONF_CRYPTO="$CONF_CRYPTO --with-crypto-backend=botan --with-botan=/usr"
CONF_CRYPTO="$CONF_CRYPTO --disable-ecc --disable-eddsa --disable-gost"
;;
openssl)
CONF_CRYPTO="$CONF_CRYPTO --with-crypto-backend=openssl --with-openssl=/usr"
CONF_CRYPTO="$CONF_CRYPTO --disable-eddsa --disable-gost"
openssl version -a
;;
*)
echo "Unknown crypto backend"
exit 1
esac
case $OBJSTORE in
file)
CONF_OBJSTORE="$CONF_OBJSTORE"
;;
sqlite)
CONF_OBJSTORE="$CONF_OBJSTORE --with-objectstore-backend-db --with-migrate"
;;
*)
echo "Unknown objectstore backend"
exit 1
esac
sh autogen.sh && \
./configure $CONF_CRYPTO $CONF_OBJSTORE && \
make all check
|