diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2020-01-06 21:46:56 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2020-01-07 08:22:16 +0100 |
| commit | ff15ab6c2d709e6ac230fd0815431d2618e0faef (patch) | |
| tree | 82c15594a0f5ec641ba92dc2f5f6d182467a055a /configure.ac | |
| parent | 529eb50f5d7e817dd27674984050a9bf1a6dce55 (diff) | |
| download | PROJ-ff15ab6c2d709e6ac230fd0815431d2618e0faef.tar.gz PROJ-ff15ab6c2d709e6ac230fd0815431d2618e0faef.zip | |
Remove deprecated JNI bindings
Closes #1757
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 57 |
1 files changed, 1 insertions, 56 deletions
diff --git a/configure.ac b/configure.ac index e9274621..715ce3a6 100644 --- a/configure.ac +++ b/configure.ac @@ -191,60 +191,6 @@ AC_CHECK_FUNC(localeconv, [AC_DEFINE(HAVE_LOCALECONV,1,[Define to 1 if you have AC_CHECK_FUNCS([strerror]) dnl --------------------------------------------------------------------------- -dnl Check for JNI support. -dnl --------------------------------------------------------------------------- - -JNI_INCLUDE= -export JNI_INCLUDE - -AC_ARG_WITH(jni, - [AS_HELP_STRING([--with-jni=dir], - [Include Java/JNI support, add optional include dir]) - ],,) - -if test "$with_jni" = "yes" ; then - - AC_DEFINE(JNI_ENABLED,1,[Enabled for Java/JNI Support]) - - AC_MSG_CHECKING(whether to enable Java/JNI support) - - AC_MSG_RESULT([enabled]) - -elif test "$with_jni" != "no" -a "$with_jni" != "" ; then - - AC_MSG_CHECKING(whether to enable Java/JNI support) - - if test \! -r "$with_jni/jni.h" ; then - AC_MSG_ERROR(Did not find $with_jni/jni.h) - fi - - AC_DEFINE(JNI_ENABLED,1,[Enabled for Java/JNI Support]) - - AC_MSG_RESULT([enabled]) - - JNI_INCLUDE="-I$with_jni" - -elif test "$with_jni" = "" ; then - AC_CHECK_HEADERS(jni.h) - - AC_MSG_CHECKING(whether to enable Java/JNI support) - - if test "$ac_cv_header_jni_h" = "no" ; then - AC_MSG_RESULT([disabled]) - else - AC_MSG_RESULT([enabled]) - AC_DEFINE(JNI_ENABLED,1,[Enabled for Java/JNI Support]) - fi - -else - AC_MSG_CHECKING(whether to enable Java/JNI support) - - AC_MSG_RESULT([disabled]) -fi - -AC_SUBST(JNI_INCLUDE,$JNI_INCLUDE) - -dnl --------------------------------------------------------------------------- dnl Provide a mechanism to disable real mutex support (if lacking win32 or dnl posix mutexes for instance). dnl --------------------------------------------------------------------------- @@ -321,8 +267,7 @@ dnl --------------------------------------------------------------------------- AC_CONFIG_FILES([Makefile cmake/Makefile src/Makefile include/Makefile include/proj/Makefile include/proj/internal/Makefile include/proj/internal/nlohmann/Makefile test/Makefile test/cli/Makefile test/gie/Makefile test/gigs/Makefile test/unit/Makefile - man/Makefile man/man1/Makefile man/man3/Makefile data/Makefile - jniwrap/Makefile jniwrap/org.osgeo.proj/Makefile jniwrap/org.osgeo.proj/org/Makefile jniwrap/org.osgeo.proj/org/proj4/Makefile]) + man/Makefile man/man1/Makefile man/man3/Makefile data/Makefile]) if ! test "x$with_external_gtest" = "xyes" ; then AC_CONFIG_FILES([test/googletest/Makefile test/googletest/include/Makefile test/googletest/include/gtest/Makefile |
