From 0a6a25d99c098cd4ae313799dd3cb1af5837fa5d Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Sun, 5 Jun 2005 16:39:55 +0000 Subject: [PATCH] STABLE14-use-test-r-20050531 Use "test -r" instead of "test -e". Not all systems (Solaris) have -e. (cherry picked from commit 1ceb19954b0b4bfca3d500803649debc0e9c001a) --- acinclude.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index bc607c5dd..3b3fa5de2 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -970,10 +970,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