view keyring/configure.ac @ 1825:2ae8438ee9d2

Keyring service might block forever storing passwords on newer distributions Add a libsecret based JNI implementation which is preferred over an libgnome-keyring based one. The JNI build is now autotools based so as to be able to select an implementation at build time. PR2660 Reviewed-by: neugens, omajid Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2015-October/016616.html Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2015-October/016640.html
author Severin Gehwolf <sgehwolf@redhat.com>
date Mon, 05 Oct 2015 11:58:01 -0400
parents
children
line wrap: on
line source

AC_INIT([thermostat-keyring-native], [1.0], [thermostat@icedtea.classpath.org])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_PROG_CC
PKG_CHECK_MODULES(LIBSECRET, [libsecret-1],
   [AC_SUBST([JNI_SOURCE_DIR], [libsecret])],
   [PKG_CHECK_MODULES([LIBGNOME_KEYRING], [gnome-keyring-1],
       [AC_SUBST([JNI_SOURCE_DIR], [libgnome-keyring])])
])
AC_CONFIG_FILES([
 Makefile
 src/main/native/Makefile
])
AC_OUTPUT