blob: 93e5cb23dc4bcab01d61c8a83f7ac531359275b0 [file] [log] [blame]
#!/bin/sh
PREFIX=/tmp/softhsm2-release
export LD_LIBRARY_PATH=/usr/local/lib
if [ ! -f autogen.sh -a ! -f configure ]; then
echo "Unable to continue, no autogen.sh or configure"
exit 1
fi
if [ -f autogen.sh ]; then
sh autogen.sh
fi &&
mkdir -p build &&
cd build &&
../configure --prefix=${PREFIX} \
--with-crypto-backend=botan \
--with-botan=/usr/local \
$@