blob: 93e5cb23dc4bcab01d61c8a83f7ac531359275b0 [file] [log] [blame]
NingSun0c89b3c2018-02-08 08:34:03 -08001#!/bin/sh
2
3PREFIX=/tmp/softhsm2-release
4export LD_LIBRARY_PATH=/usr/local/lib
5
6if [ ! -f autogen.sh -a ! -f configure ]; then
7 echo "Unable to continue, no autogen.sh or configure"
8 exit 1
9fi
10
11if [ -f autogen.sh ]; then
12 sh autogen.sh
13fi &&
14mkdir -p build &&
15cd build &&
16../configure --prefix=${PREFIX} \
17 --with-crypto-backend=botan \
18 --with-botan=/usr/local \
19 $@