libbitcoinconsensus: Add pkg-config support

This commit is contained in:
Luke Dashjr
2014-11-20 20:45:24 +00:00
parent 5c4dffd188
commit eef747bba8
3 changed files with 17 additions and 0 deletions

View File

@ -680,6 +680,7 @@ AC_MSG_CHECKING([whether to build libraries])
AM_CONDITIONAL([BUILD_BITCOIN_LIBS], [test x$build_bitcoin_libs = xyes])
if test x$build_bitcoin_libs = xyes; then
AC_DEFINE(HAVE_CONSENSUS_LIB, 1, [Define this symbol if the consensus lib has been built])
AC_CONFIG_FILES([libbitcoinconsensus.pc:libbitcoinconsensus.pc.in])
fi
AC_MSG_RESULT($build_bitcoin_libs)