summaryrefslogtreecommitdiff
path: root/ext/rpc/java
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-08-19 21:49:37 +0000
committerfoobar <sniper@php.net>2002-08-19 21:49:37 +0000
commit7ea1e2d51184c3a31f0751a7a232b6c27fa4c32f (patch)
tree528db36787f3b59e21bd9531849c64412eac2aa4 /ext/rpc/java
parente1a89832874cab8f603340e5716a3821cbc42b26 (diff)
downloadphp-git-7ea1e2d51184c3a31f0751a7a232b6c27fa4c32f.tar.gz
Fix the build when using --with-java without any path
Diffstat (limited to 'ext/rpc/java')
-rw-r--r--ext/rpc/java/config.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/rpc/java/config.m4 b/ext/rpc/java/config.m4
index 12e079d375..99537ee46b 100644
--- a/ext/rpc/java/config.m4
+++ b/ext/rpc/java/config.m4
@@ -9,6 +9,7 @@ AC_DEFUN(JAVA_FIND_JAR, [
else
JAVA_JAR=
fi
+ PHP_JAVA=`cd \`dirname \\\`which javac\\\`\`/..;pwd`
dnl
dnl substitue zip for systems which don't have jar
@@ -126,8 +127,9 @@ AC_DEFUN(JAVA_CHECK_LIB, [
fi
JAVA_CFLAGS="$JAVA_CFLAGS -D_REENTRANT"
- AC_MSG_RESULT([$JAVA_LIBPATH])
fi
+
+ AC_MSG_RESULT([$JAVA_LIBPATH])
])