library_includedir = $(includedir)/d0_blind_id
library_include_HEADERS = d0_blind_id.h d0.h
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_HEADERS = d0_blind_id.pc
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
--- /dev/null
+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