From 505bc086ee6f51ca85e8732758c4fccbf7a8e508 Mon Sep 17 00:00:00 2001 From: gfk Date: Fri, 22 Feb 2002 23:29:34 +0000 Subject: [PATCH] Replacing 'test -e' by 'test -f' since Solaris' shell (sh) doesn't like it... --- acinclude.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index fd0a52b..8c7c523 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -210,15 +210,15 @@ dnl AC_DEFUN([AC_FIND_MTAB_FILE], [ AC_CACHE_CHECK([for your mounted filesystem table], ac_cv_mtab_file, [ dnl Linux - if test -e "/etc/mtab"; then + if test -f "/etc/mtab"; then ac_cv_mtab_file=/etc/mtab else dnl Solaris - if test -e "/etc/mnttab"; then + if test -f "/etc/mnttab"; then ac_cv_mtab_file=/etc/mnttab else dnl BSD - if test -e "/etc/fstab"; then + if test -f "/etc/fstab"; then ac_cv_mtab_file=/etc/fstab fi fi