mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
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:
parent
f8f4f0b611
commit
8609a08f13
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user