Remove keyconv files to fix the license issue.
[aaf/sshsm.git] / SoftHSMv2 / prepdist.sh
1 #!/bin/sh
2
3 PREFIX=/tmp/softhsm2-release
4 export LD_LIBRARY_PATH=/usr/local/lib
5
6 if [ ! -f autogen.sh -a ! -f configure ]; then
7         echo "Unable to continue, no autogen.sh or configure"
8         exit 1
9 fi
10
11 if [ -f autogen.sh ]; then 
12         sh autogen.sh 
13 fi &&
14 mkdir -p build &&
15 cd build &&
16 ../configure --prefix=${PREFIX} \
17         --with-crypto-backend=botan \
18         --with-botan=/usr/local \
19         $@