#!/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-gost" ;; openssl) CONF_CRYPTO="$CONF_CRYPTO --with-crypto-backend=openssl --with-openssl=/usr" CONF_CRYPTO="$CONF_CRYPTO --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