From f3fc7fe2fd77743f03cf41cbbaf68c49afba2a6f Mon Sep 17 00:00:00 2001 From: Dan Kalowsky Date: Wed, 14 Aug 2002 17:49:41 +0000 Subject: Updating the error message to state a difference between libraries and include. Also restoring old for search to keep BC on configure --- ext/rpc/java/config.m4 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ext/rpc/java') diff --git a/ext/rpc/java/config.m4 b/ext/rpc/java/config.m4 index f23c82b3bb..12e079d375 100644 --- a/ext/rpc/java/config.m4 +++ b/ext/rpc/java/config.m4 @@ -90,10 +90,10 @@ AC_DEFUN(JAVA_CHECK_LIB, [ for i in $PHP_JAVA/include/*; do test -f $i/jni_md.h && JAVA_INCLUDE="$JAVA_INCLUDE $i" done -dnl -dnl sample JDK v 1.4 path -dnl /usr/java/j2sdk1.4.0_01/jre/lib/i386/libjava.so -dnl + dnl + dnl sample JDK v 1.4 path + dnl /usr/java/j2sdk1.4.0_01/jre/lib/i386/libjava.so + dnl else dnl dnl We have to find everything @@ -122,7 +122,7 @@ dnl if test -z "$JAVA_INCLUDE"; then AC_MSG_RESULT(no) - AC_MSG_ERROR(unable to find Java VM libraries) + AC_MSG_ERROR(unable to find Java VM includes) fi JAVA_CFLAGS="$JAVA_CFLAGS -D_REENTRANT" @@ -157,7 +157,7 @@ if test "$PHP_JAVA" != "no"; then AC_DEFINE(HAVE_JAVA,1,[ ]) if test -z "$JAVA_LIBPATH"; then - AC_MSG_ERROR(unable to find Java VM libraries) + AC_MSG_ERROR([unable to find Java VM libraries in $PHP_JAVA]) fi PHP_ADD_LIBPATH($JAVA_LIBPATH) -- cgit v1.2.1