Refactored configure.ac, added pkg-config support

This commit is contained in:
Fabian Freyer
2014-09-26 01:41:00 +02:00
parent dcbf3fb4d5
commit 55efc601cb
4 changed files with 62 additions and 16 deletions

14
libstrophe.pc.in Normal file
View File

@@ -0,0 +1,14 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: libstrophe
Description: A simple, lightweight C library for writing XMPP clients
URL: http://strophe.im/libstrophe/
Version: @VERSION@
Requires:
Requires.private: @PC_REQUIRES@
Libs: -L${libdir} -lstrophe
Libs.private: @PC_LIBS@
Cflags: -I${includedir} @PC_CFLAGS@