diff options
author | Dan Kalowsky <kalowsky@php.net> | 2002-08-14 17:04:05 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2002-08-14 17:04:05 +0000 |
commit | 4b691d154ab1e3ead10ad15133baa10886d59cf7 (patch) | |
tree | 47f032f52049723da22cb833969224ae2a3dcea4 /ext/rpc | |
parent | ce71fe02883a97081ac7f858d82f64a5347db085 (diff) | |
download | php-git-4b691d154ab1e3ead10ad15133baa10886d59cf7.tar.gz |
Adding a check for the binaries rather than just the directories.
Diffstat (limited to 'ext/rpc')
-rw-r--r-- | ext/rpc/java/config.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/rpc/java/config.m4 b/ext/rpc/java/config.m4 index f7ce9953e6..f23c82b3bb 100644 --- a/ext/rpc/java/config.m4 +++ b/ext/rpc/java/config.m4 @@ -20,7 +20,7 @@ AC_DEFUN(JAVA_FIND_JAR, [ dnl dnl we have a custom path defined so use it dnl - if test -d $PHP_JAVA/bin; then + if test -x $PHP_JAVA/bin/jar; then JAVA_JAR="$PHP_JAVA/bin/jar cf" else AC_MSG_ERROR([Unable to locate $PHP_JAVA/bin]) @@ -40,7 +40,7 @@ AC_DEFUN(JAVA_FIND_C, [ dnl directory. dnl if test -z "$PHP_JAVA" != "yes"; then - if test -z $PHP_JAVA/bin; then + if test -x $PHP_JAVA/bin/javac; then JAVA_C=$PHP_JAVA/bin/javac else AC_MSG_ERROR([Unable to locate $PHP_JAVA/bin]) |