]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-use-test-r-20050531
authorJim Rees <rees@umich.edu>
Sun, 5 Jun 2005 16:39:55 +0000 (16:39 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sun, 5 Jun 2005 16:39:55 +0000 (16:39 +0000)
Use "test -r" instead of "test -e".  Not all systems (Solaris) have -e.

(cherry picked from commit 1ceb19954b0b4bfca3d500803649debc0e9c001a)

acinclude.m4

index bc607c5ddc4d6f576062af481ff21043007e2724..3b3fa5de23c3c1ccb5f8698ae37406d3aebbf678 100644 (file)
@@ -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