Blob Blame History Raw
Index: configure.ac
===================================================================
--- configure.ac	(revision 2171)
+++ configure.ac	(working copy)
@@ -103,5 +103,5 @@
 dnl Default compiler settings
 CFLAGS="$CFLAGS -Wall -Werror -pedantic -std=c99 -D_POSIX_C_SOURCE=200112L"
 
-AC_CONFIG_FILES([Makefile src/Makefile])
+AC_CONFIG_FILES([Makefile src/Makefile src/libvoikko.pc])
 AC_OUTPUT
Index: src/libvoikko.pc.in
===================================================================
--- src/libvoikko.pc.in	(revision 0)
+++ src/libvoikko.pc.in	(revision 0)
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libvoikko
+Description: Library for spellcheckers and hyphenators
+Version: @VERSION@
+Libs: -L${libdir} -lvoikko
+Libs.private: -lmalaga
+Cflags: -I${includedir}
Index: src/Makefile.am
===================================================================
--- src/Makefile.am	(revision 2171)
+++ src/Makefile.am	(working copy)
@@ -17,3 +17,6 @@
 
 dist_man_MANS = voikkospell.1 voikkohyphenate.1
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libvoikko.pc
+