libd0_blind_id_la_SOURCES = d0_bignum-gmp.c d0_blind_id.c d0.c d0_iobuf.c sha2.c
libd0_blind_id_la_LDFLAGS = -versioninfo 2:0:2
libd0_blind_id_la_CFLAGS = -fvisibility=hidden -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement
-
library_includedir = $(includedir)/d0_blind_id
-library_include_HEADERS = d0_blind_id.h d0.h d0_rijndael.h
+library_include_HEADERS = d0_blind_id.h d0.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_HEADERS = d0_blind_id.pc
if ENABLE_RIJNDAEL
-library_include_HEADERS += d0_rijndael.h
lib_LTLIBRARIES += libd0_rijndael.la
libd0_rijndael_la_SOURCES = d0_rijndael.c
libd0_rijndael_la_LDFLAGS = -versioninfo 0:0:0
libd0_rijndael_la_CFLAGS = -fvisibility=hidden -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement
+library_include_HEADERS += d0_rijndael.h
+pkgconfig_HEADERS += d0_rijndael.pc
endif
AC_SEARCH_LIBS(__gmpz_init, gmp, , [AC_MSG_ERROR([GNU MP not found, see http://gmplib.org/])])
AC_ARG_ENABLE(rijndael, AS_HELP_STRING([--disable-rijndael], [Disable build of the d0_rijndael library]), [enable_aes=$enableval], [enable_aes=yes])
-AM_CONDITIONAL(ENABLE_RIJNDAEL, [test x$enable_aes = xtrue])
+AM_CONDITIONAL(ENABLE_RIJNDAEL, [test x$enable_aes = xyes])
dnl AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile d0_blind_id.pc])
Description: Library for user identification using RSA blind signatures
Requires:
Version: @VERSION@
-Libs: -L${libdir} -lblind_id
-Cflags: -I${includedir}/blind_id
+Libs: -L${libdir} -ld0_blind_id
+Cflags: -I${includedir}/d0_blind_id
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Rijndael
+Description: Library for Rijndael encryption
+Requires:
+Version: @VERSION@
+Libs: -L${libdir} -ld0_rijndael
+Cflags: -I${includedir}/d0_blind_id