From b355dc3395b2a923d511c682c73e7ff19ca24827 Mon Sep 17 00:00:00 2001 From: hoenicke Date: Wed, 28 Feb 2001 09:53:10 +0000 Subject: [PATCH] * acinclude.m4 (JODE_CHECK_CLASS): Changed "test -e" to "-f" since -e is not supported on all architectures (Solaris) and -f is more correct anyway. Reported by Erik Modin . git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1309 379699f6-c40d-0410-875b-85095c16579e --- jode/ChangeLog | 7 +++++++ jode/acinclude.m4 | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/jode/ChangeLog b/jode/ChangeLog index 8082d05..37baf67 100644 --- a/jode/ChangeLog +++ b/jode/ChangeLog @@ -1,3 +1,10 @@ +2001-02-28 Jochen Hoenicke + + * acinclude.m4 (JODE_CHECK_CLASS): Changed "test -e" to "-f" since + -e is not supported on all architectures (Solaris) and -f is more + correct anyway. + Reported by Erik Modén . + 2001-02-27 Jochen Hoenicke * jode/swingui/Main.java.in (AreaWriter): Convert all kinds of diff --git a/jode/acinclude.m4 b/jode/acinclude.m4 index 563ec98..296d1ad 100644 --- a/jode/acinclude.m4 +++ b/jode/acinclude.m4 @@ -28,7 +28,7 @@ AC_DEFUN(JODE_CHECK_CLASS, myclasspath=$2; for path in $myclasspath; do if test -d $path; then - if test -e $path/$clazz; then + if test -f $path/$clazz; then exit 0 fi elif CLASS_CHECK $path $clazz ; then