use-test-r-20050531
authorJim Rees <rees@umich.edu>
Tue, 31 May 2005 16:43:59 +0000 (16:43 +0000)
committerJim Rees <rees@umich.edu>
Tue, 31 May 2005 16:43:59 +0000 (16:43 +0000)
Use "test -r" instead of "test -e".  Not all systems (Solaris) have -e.

acinclude.m4

index 475bbee..10d3461 100644 (file)
@@ -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