pkgconfig support
authorRudolf Polzer <divverent@alientrap.org>
Sat, 24 Apr 2010 19:23:23 +0000 (21:23 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 24 Apr 2010 19:23:23 +0000 (21:23 +0200)
Makefile.am
configure.ac
d0_blind_id.pc.in [new file with mode: 0644]

index 4e540ef..503c946 100644 (file)
@@ -12,3 +12,5 @@ libblind_id_la_LDFLAGS = -versioninfo 0:0:0
 
 library_includedir = $(includedir)/d0_blind_id
 library_include_HEADERS = d0_blind_id.h d0.h
 
 library_includedir = $(includedir)/d0_blind_id
 library_include_HEADERS = d0_blind_id.h d0.h
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_HEADERS = d0_blind_id.pc
index 65b2ea8..a034e98 100644 (file)
@@ -6,6 +6,6 @@ AM_PROG_LIBTOOL
 AC_SEARCH_LIBS(clock_gettime, rt, , [AC_MSG_ERROR([GNU MP not found, see http://gmplib.org/])])
 AC_SEARCH_LIBS(__gmpz_init, gmp, , [AC_MSG_ERROR([GNU MP not found, see http://gmplib.org/])])
 
 AC_SEARCH_LIBS(clock_gettime, rt, , [AC_MSG_ERROR([GNU MP not found, see http://gmplib.org/])])
 AC_SEARCH_LIBS(__gmpz_init, gmp, , [AC_MSG_ERROR([GNU MP not found, see http://gmplib.org/])])
 
-AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([Makefile])
+dnl AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_FILES([Makefile d0_blind_id.pc])
 AC_OUTPUT
 AC_OUTPUT
diff --git a/d0_blind_id.pc.in b/d0_blind_id.pc.in
new file mode 100644 (file)
index 0000000..bfd5097
--- /dev/null
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Blind-ID
+Description: Library for user identification using RSA blind signatures
+Requires: 
+Version: @VERSION@
+Libs: -L${libdir} -lblind_id
+Cflags: -I${includedir}/blind_id