Ignore:
Timestamp:
2001-12-04T14:03:07+13:00 (22 years ago)
Author:
jrm21
Message:

replaced "test -e" with "test -r" as some versions of solaris test don't
have the -e option. (In added tests for gdbm).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/configure.in

    r2603 r2884  
    191191if test ! -z "$gdbmdir" ; then
    192192  # look in given directory for header file
    193   if test -e $gdbmdir/include/gdbm.h ; then
     193  if test -r $gdbmdir/include/gdbm.h ; then
    194194    GDBM_INCLUDE="-I$gdbmdir/include" ;
    195   elif test -e $gdbmdir/gdbm.h ; then
     195  elif test -r $gdbmdir/gdbm.h ; then
    196196    GDBM_INCLUDE="-I$gdbmdir" ;
    197197  fi
    198198
    199199  # look in given directory for library
    200   if test -e $gdbmdir/libgdbm.a ; then
     200  if test -r $gdbmdir/libgdbm.a ; then
    201201    GDBM_LIBPATH="-L$gdbmdir" ;
    202   elif test -e $gdbmdir/lib/libgdbm.a ; then
     202  elif test -r $gdbmdir/lib/libgdbm.a ; then
    203203    GDBM_LIBPATH="-L$gdbmdir/lib" ;
    204   elif test -e $gdbmdir/.libs/libgdbm.a ; then
     204  elif test -r $gdbmdir/.libs/libgdbm.a ; then
    205205    GDBM_LIBPATH="-L$gdbmdir/.libs" ;
    206206  fi
Note: See TracChangeset for help on using the changeset viewer.