Replacing 'test -e' by 'test -f' since Solaris' shell (sh) doesn't like it...

This commit is contained in:
gfk
2002-02-22 23:29:34 +00:00
parent b3e1506ffa
commit 505bc086ee
+3 -3
View File
@@ -210,15 +210,15 @@ dnl
AC_DEFUN([AC_FIND_MTAB_FILE], [ AC_DEFUN([AC_FIND_MTAB_FILE], [
AC_CACHE_CHECK([for your mounted filesystem table], ac_cv_mtab_file, [ AC_CACHE_CHECK([for your mounted filesystem table], ac_cv_mtab_file, [
dnl Linux dnl Linux
if test -e "/etc/mtab"; then if test -f "/etc/mtab"; then
ac_cv_mtab_file=/etc/mtab ac_cv_mtab_file=/etc/mtab
else else
dnl Solaris dnl Solaris
if test -e "/etc/mnttab"; then if test -f "/etc/mnttab"; then
ac_cv_mtab_file=/etc/mnttab ac_cv_mtab_file=/etc/mnttab
else else
dnl BSD dnl BSD
if test -e "/etc/fstab"; then if test -f "/etc/fstab"; then
ac_cv_mtab_file=/etc/fstab ac_cv_mtab_file=/etc/fstab
fi fi
fi fi