From 15ac899fd7788429f681533a99d803ea2eb150ba Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Tue, 13 Sep 2016 10:13:01 +1200 Subject: [PATCH] Fix configure to find jni_md.h under Cygwin There doesn't seem to be an way to automatically determine the machine-dependent JNI include path, so add another case to use "win32" on Cygwin. Reported by John Bankert on xapian-discuss. (cherry picked from commit 633b04159966c376e3ac60c05081a58716959685) (cherry picked from commit 8f10b8e03c773fadc6079c769bcb56e7625ed8cb) --- xapian-bindings/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xapian-bindings/configure.ac b/xapian-bindings/configure.ac index 6c559fb56..36a9b403d 100644 --- a/xapian-bindings/configure.ac +++ b/xapian-bindings/configure.ac @@ -789,7 +789,7 @@ if test no != "$with_java" ; then jni_host_os=linux ;; solaris*) jni_host_os=solaris ;; - mingw* | pw32*) + mingw* | pw32* | cygwin*) jni_host_os=win32 ;; esac if test -n "$jni_host_os" ; then -- 2.11.4.GIT