diff options
author | Lennart Poettering <lennart@poettering.net> | 2003-10-27 18:32:45 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2003-10-27 18:32:45 +0000 |
commit | b9f50d5376dfce9e7fda1cda479576e5fecb1bf5 (patch) | |
tree | b0446941bb4f2854a82555a4447aa37828b10258 | |
parent | fdcd274530a4ae8a886fd27a42cf1faba00b8a25 (diff) |
add pkg-config files
git-svn-id: file:///home/lennart/svn/public/libnewmail/trunk@40 2d4e79f2-dfba-0310-a9f4-9628e67fcdf4
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | libnewmail.pc.in | 10 |
3 files changed, 14 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index af1c583..b49a176 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,6 +22,9 @@ SUBDIRS=src doc examples MAINTAINERCLEANFILES = README noinst_DATA = README +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libnewmail.pc + README: rm -f README $(MAKE) -C doc README diff --git a/configure.ac b/configure.ac index 4dec845..d0a3fd6 100644 --- a/configure.ac +++ b/configure.ac @@ -108,5 +108,5 @@ fi AM_CONDITIONAL([USE_LYNX], [test "x$lynx" = xyes]) -AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile doc/README.html doc/doxygen.conf examples/Makefile]) +AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile doc/README.html doc/doxygen.conf examples/Makefile libnewmail.pc]) AC_OUTPUT diff --git a/libnewmail.pc.in b/libnewmail.pc.in new file mode 100644 index 0000000..8923287 --- /dev/null +++ b/libnewmail.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: libnewmail +Description: generic mail checking library +Version: @PACKAGE_VERSION@ +Libs: -L${libdir} -lnewmail -lpthread -loop +Cflags: -D_REENTRANT -I${includedir}/libnewmail |