AC_SUBST(LIBGCRYPT_CFLAGS)
AC_SUBST(LIBGCRYPT_LIBS)
+AM_PATH_GPG_ERROR(1.10, :, [AC_MSG_ERROR([libgpgerror >= 1.10 not found.])])
+
+AC_SUBST(GPG_ERROR_CFLAGS)
+AC_SUBST(GPG_ERROR_LIBS)
+
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
AM_CPPFLAGS = $(LIBAUTEDB_CFLAGS) \
$(LIBGCRYPT_CFLAGS) \
+ $(GPG_ERROR_CFLAGS) \
$(LIBCONFI_CFLAGS) \
-DGUIDIR=\""$(guidir)"\" \
-DFORMDIR=\""$(formdir)"\"
LIBS = $(LIBAUTEDB_LIBS) \
$(LIBGCRYPT_LIBS) \
+ $(GPG_ERROR_LIBS) \
$(LIBCONFI_LIBS)
libaute_pluginsdir = $(libdir)/libaute/plugins