autofs-5.0.6 - fix configure string length tests From: Ian Kent Checks for sss library directory were missing quotes around the library variable. --- CHANGELOG | 1 + aclocal.m4 | 6 +++--- configure | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 045a107..f37b720 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -43,6 +43,7 @@ - use strtok_r() in linux_version_code(). - fix sss wildcard match. - fix dlopen() error handling in sss module. +- fix configure string length tests for sss library. 28/06/2011 autofs-5.0.6 ----------------------- diff --git a/aclocal.m4 b/aclocal.m4 index 439d56f..1798c8b 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -37,16 +37,16 @@ dnl dnl Check if a sss autofs library exists. dnl -------------------------------------------------------------------------- AC_DEFUN(AF_CHECK_SSS_LIB, -[if test -z $sssldir; then +[if test -z "$sssldir"; then AC_MSG_CHECKING(for sssd autofs library) for libd in /usr/lib64 /usr/lib; do - if test -z $sssldir; then + if test -z "$sssldir"; then if test -e "$libd/sssd/modules/$2"; then sssldir=$libd/sssd/modules fi fi done - if test -n $sssldir; then + if test -n "$sssldir"; then HAVE_$1=1 AC_MSG_RESULT(yes) else diff --git a/configure b/configure index ec394e7..9844a59 100755 --- a/configure +++ b/configure @@ -3832,17 +3832,17 @@ else fi -if test -z $sssldir; then +if test -z "$sssldir"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sssd autofs library" >&5 $as_echo_n "checking for sssd autofs library... " >&6; } for libd in /usr/lib64 /usr/lib; do - if test -z $sssldir; then + if test -z "$sssldir"; then if test -e "$libd/sssd/modules/libsss_autofs.so"; then sssldir=$libd/sssd/modules fi fi done - if test -n $sssldir; then + if test -n "$sssldir"; then HAVE_SSS_AUTOFS=1 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; }