Changeset 2884


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).

Location:
trunk/gsdl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/configure

    r2603 r2884  
    31653165if test ! -z "$gdbmdir" ; then
    31663166  # look in given directory for header file
    3167   if test -e $gdbmdir/include/gdbm.h ; then
     3167  if test -r $gdbmdir/include/gdbm.h ; then
    31683168    GDBM_INCLUDE="-I$gdbmdir/include" ;
    3169   elif test -e $gdbmdir/gdbm.h ; then
     3169  elif test -r $gdbmdir/gdbm.h ; then
    31703170    GDBM_INCLUDE="-I$gdbmdir" ;
    31713171  fi
    31723172
    31733173  # look in given directory for library
    3174   if test -e $gdbmdir/libgdbm.a ; then
     3174  if test -r $gdbmdir/libgdbm.a ; then
    31753175    GDBM_LIBPATH="-L$gdbmdir" ;
    3176   elif test -e $gdbmdir/lib/libgdbm.a ; then
     3176  elif test -r $gdbmdir/lib/libgdbm.a ; then
    31773177    GDBM_LIBPATH="-L$gdbmdir/lib" ;
    3178   elif test -e $gdbmdir/.libs/libgdbm.a ; then
     3178  elif test -r $gdbmdir/.libs/libgdbm.a ; then
    31793179    GDBM_LIBPATH="-L$gdbmdir/.libs" ;
    31803180  fi
  • 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.