Use test -f instead of -e for portability

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1108 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-01-13 13:54:17 +00:00 committed by cras
commit 8609a08f13

View file

@ -236,7 +236,7 @@ dnl **
AC_PATH_PROG(sedpath, sed)
AC_MSG_CHECKING([whether GLib is unpacked to irssi dir])
GLIB_DIR=`for d in *; do test -e $d/glib.h && echo $d; done`
GLIB_DIR=`for d in *; do test -f $d/glib.h && echo $d; done`
if test "x$GLIB_DIR" != "x"; then
dnl glib in irssi directory, use it
AC_MSG_RESULT([yes, using it])