summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-12-07 13:24:34 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-12-07 13:25:04 +0100
commitac174daf9958053300b91d2b9ab5364744996224 (patch)
treea8cc3f3cde221d857e19613a92c384bb0f453079
parentec7c58e88f10991a8d77759f5b4abaa8bfce0cd6 (diff)
downloadgnutls-tmp-configure-doc-fix.tar.gz
configure: break after finding the first libtspitmp-configure-doc-fix
It may happen that multiple versions are available on a system, and by using the first one we ensure, that we are using the 64-bit version on 64-bit system, instead of falling back to the 32-bit.
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 61526040d1..cfe1a984de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -646,6 +646,7 @@ AM_CONDITIONAL(ENABLE_TROUSERS, test "$with_tpm" != "no")
for l in /usr/lib64 /usr/lib /lib64 /lib /usr/lib/x86_64-linux-gnu/; do
if test -f "${l}/libtspi.so.1";then
default_trousers_lib="${l}/libtspi.so.1"
+ break
fi
done