View | Details | Raw Unified
Collapse All | Expand All

(-) ./admin/acinclude.m4.in (-8 lines)
 Lines 5263-5270    Link Here 
  kde_java_libjvmdir=`find $kde_java_bindir/.. -name libjvm.so | sed 's,libjvm.so,,'|head -n 1`
  kde_java_libjvmdir=`find $kde_java_bindir/.. -name libjvm.so | sed 's,libjvm.so,,'|head -n 1`
  dnl Look for libgcj.so
  dnl Look for libgcj.so
  kde_java_libgcjdir=`find $kde_java_bindir/.. -name libgcj.so | sed 's,libgcj.so,,'|head -n 1`
  kde_java_libgcjdir=`find $kde_java_bindir/.. -name libgcj.so | sed 's,libgcj.so,,'|head -n 1`
  dnl Look for libhpi.so and avoid green threads
  kde_java_libhpidir=`find $kde_java_bindir/.. -name libhpi.so | grep -v green | sed 's,libhpi.so,,' | head -n 1`
  dnl Now check everything's fine under there
  dnl Now check everything's fine under there
  dnl the include dir is our flag for having the JDK
  dnl the include dir is our flag for having the JDK
 Lines 5315-5326    Link Here 
  dnl not needed for gcj compile
  dnl not needed for gcj compile
  if test "x$kde_java_libgcjdir" = "x"; then 
      if test ! -r "$kde_java_libhpidir/libhpi.so"; then
        AC_MSG_ERROR([libhpi.so not found under $kde_java_libhpidir. Use --without-java.])
      fi
  fi
  if test -n "$jni_includes"; then
  if test -n "$jni_includes"; then
    dnl Check for JNI version
    dnl Check for JNI version
    AC_LANG_SAVE
    AC_LANG_SAVE