fi
JAVA_CFLAGS="$JAVA_CFLAGS -D_REENTRANT"
+ AC_MSG_RESULT([$JAVA_LIBPATH])
fi
])
#include "php_ini.h"
#include "php_globals.h"
+/* #if defined(__MacOSX__) */
+#if HAVE_JAVAVM_JAVAVM_H
+#include <JavaVM/JavaVM.h>
+#define JAVALIB "libjvm.dylib"
+#define JNI_12
+#else
+#include <jni.h>
+#endif
+
+
#ifdef PHP_WIN32
- #include "win32/winutil.h"
- #define DL_ERROR php_win_err()
+#include "win32/winutil.h"
+#define DL_ERROR php_win_err()
#endif
-#include <jni.h>
#include <stdio.h>
fi
JAVA_CFLAGS="$JAVA_CFLAGS -D_REENTRANT"
+ AC_MSG_RESULT([$JAVA_LIBPATH])
fi
])
#include "php_ini.h"
#include "php_globals.h"
+/* #if defined(__MacOSX__) */
+#if HAVE_JAVAVM_JAVAVM_H
+#include <JavaVM/JavaVM.h>
+#define JAVALIB "libjvm.dylib"
+#define JNI_12
+#else
+#include <jni.h>
+#endif
+
+
#ifdef PHP_WIN32
- #include "win32/winutil.h"
- #define DL_ERROR php_win_err()
+#include "win32/winutil.h"
+#define DL_ERROR php_win_err()
#endif
-#include <jni.h>
#include <stdio.h>