From: Rudolf Polzer Date: Sat, 24 Apr 2010 19:23:23 +0000 (+0200) Subject: pkgconfig support X-Git-Tag: xonotic-v0.1.0preview~52 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fd0_blind_id.git;a=commitdiff_plain;h=49f59e4f7d0a62b735546a5e1cece6e9a926ca38;ds=sidebyside pkgconfig support --- diff --git a/Makefile.am b/Makefile.am index 4e540ef..503c946 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_HEADERS = d0_blind_id.pc diff --git a/configure.ac b/configure.ac index 65b2ea8..a034e98 100644 --- a/configure.ac +++ b/configure.ac @@ -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_CONFIG_HEADERS([config.h]) -AC_CONFIG_FILES([Makefile]) +dnl AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_FILES([Makefile d0_blind_id.pc]) AC_OUTPUT diff --git a/d0_blind_id.pc.in b/d0_blind_id.pc.in new file mode 100644 index 0000000..bfd5097 --- /dev/null +++ b/d0_blind_id.pc.in @@ -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