From 1ceb19954b0b4bfca3d500803649debc0e9c001a Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Tue, 31 May 2005 16:43:59 +0000 Subject: [PATCH] use-test-r-20050531 Use "test -r" instead of "test -e". Not all systems (Solaris) have -e. --- acinclude.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 475bbee91..10d346127 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -969,10 +969,10 @@ if test "$enable_tivoli_tsm" = "yes"; then XBSADIR1=/usr/tivoli/tsm/client/api/bin/xopen XBSADIR2=/opt/tivoli/tsm/client/api/bin/xopen - if test -e "$XBSADIR1/xbsa.h"; then + if test -r "$XBSADIR1/xbsa.h"; then XBSA_CFLAGS="-Dxbsa -I$XBSADIR1" AC_MSG_RESULT([yes, $XBSA_CFLAGS]) - elif test -e "$XBSADIR2/xbsa.h"; then + elif test -r "$XBSADIR2/xbsa.h"; then XBSA_CFLAGS="-Dxbsa -I$XBSADIR2" AC_MSG_RESULT([yes, $XBSA_CFLAGS]) else -- 2.39.5