summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2012-02-27 21:48:55 +0100
committerSamuel Lidén Borell <samuel@slbdata.se>2012-02-27 21:48:55 +0100
commit51e8f65cc3378cc090231bef2ad6713a20c444b0 (patch)
tree6b86148aa5522f0f5558dda1d8259d344c2fe9ef /configure
parent269622555e28b29b80db1b77a5dcf8edf17f3cb0 (diff)
downloadfribid-51e8f65cc3378cc090231bef2ad6713a20c444b0.tar.gz
fribid-51e8f65cc3378cc090231bef2ad6713a20c444b0.tar.bz2
fribid-51e8f65cc3378cc090231bef2ad6713a20c444b0.zip
configure script: Tell the user to install OpenSC if not found
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 15fc4fd..bff04bf 100755
--- a/configure
+++ b/configure
@@ -251,8 +251,12 @@ if [ "$enable_pkcs11" = 1 ]; then
depError=1
errorType="ERROR"
fi
- echo
+ echo >&2
echo "$errorType: PKCS#11 module not found" >&2
+
+ if [ "x${pkcs11Module%opensc-pkcs11.so}" != "x$pkcs11Module" ]; then
+ echo "Make sure that you have installed OpenSC!" >&2
+ fi
fi
else
echo " PKCS#11 smartcard support disabled"