Blob Blame History Raw
diff -up libkdtree++_0.7.0/configure.ac.pkgconfig libkdtree++_0.7.0/configure.ac
--- libkdtree++_0.7.0/configure.ac.pkgconfig	2012-06-22 15:33:33.556078569 -0700
+++ libkdtree++_0.7.0/configure.ac	2012-06-22 15:34:11.454076654 -0700
@@ -26,5 +26,5 @@ AC_CHECK_TYPES([ptrdiff_t size_t])
 # Checks for library functions.
 AC_CHECK_FUNCS([pow sqrt])
 
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile pkgconfig/libkdtree++.pc])
 AC_OUTPUT
diff -up libkdtree++_0.7.0/Makefile.am.pkgconfig libkdtree++_0.7.0/Makefile.am
--- libkdtree++_0.7.0/Makefile.am.pkgconfig	2012-06-22 15:34:26.152075911 -0700
+++ libkdtree++_0.7.0/Makefile.am	2012-06-22 15:35:07.411073829 -0700
@@ -5,3 +5,6 @@ nobase_include_HEADERS = \
 	kdtree++/kdtree.hpp \
 	kdtree++/node.hpp \
 	kdtree++/region.hpp
+
+pkgconfigdir = $(datadir)/pkgconfig
+pkgconfig_DATA = pkgconfig/libkdtree++.pc