From a280ac69a3298dc4518b17d59996c290f5c97a77 Mon Sep 17 00:00:00 2001 From: Henrik Nordstrom Date: Tue, 2 Aug 2011 02:08:49 -0600 Subject: [PATCH] Simplify SASL config.test. If headers are there then it's reasonable to expect libs as well being present. Note: not all archs places libs in /lib /usr/lib and full searching is overkill. --- helpers/basic_auth/SASL/config.test | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/helpers/basic_auth/SASL/config.test b/helpers/basic_auth/SASL/config.test index 7f4b817f33..8054c9555a 100755 --- a/helpers/basic_auth/SASL/config.test +++ b/helpers/basic_auth/SASL/config.test @@ -1,10 +1,8 @@ #!/bin/sh -if [ -f /usr/include/sasl.h -o -f /usr/include/sasl/sasl.h ]; then - if [ -f /usr/lib/libsasl.a -o -f /usr/lib/libsasl2.a ]; then - exit 0 - fi - if [ -f /usr/lib/libsasl.la -o -f /usr/lib/libsasl2.la ]; then - exit 0 - fi +if [ -f /usr/include/sasl.h ]; then + exit 0 +fi +if [ -f /usr/include/sasl/sasl.h ]; then + exit 0 fi exit 1 -- 2.47.2