]> saetta.ns0.it Git - zakauthe/plugins/db/commitdiff
Added test on autotools for gpg-error. gtk2 v0.3.0
authorAndrea Zagli <azagli@libero.it>
Sun, 11 Sep 2011 14:13:48 +0000 (16:13 +0200)
committerAndrea Zagli <azagli@libero.it>
Sun, 11 Sep 2011 14:13:48 +0000 (16:13 +0200)
configure.ac
src/Makefile.am

index 4ba31b0d00eb7ab2f1ce339be5c36d7e576200e8..426c6cefd82b96f792419aa82286a60ec9b34534 100644 (file)
@@ -39,6 +39,11 @@ AM_PATH_LIBGCRYPT(1.2.1, :, [AC_MSG_ERROR([libgcrypt >= 1.2.1 not found.])])
 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.
index 3a07774c4ff5e72486361a163540d727a7660f68..3d6dd25e45e9c0f5d40b0a515571e22681b9604e 100644 (file)
@@ -3,12 +3,14 @@ formdir = $(datadir)/libaute-db/form
 
 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