Issue #3585: Add pkg-config support.
It creates a python-2.7.pc file and a python.pc symlink in the
$(LIBDIR)/pkgconfig directory. Patch by Clinton Roy.
diff --git a/Misc/ACKS b/Misc/ACKS
index 64a0242..ee25ad1 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -618,6 +618,7 @@
Donald Wallace Rouse II
Liam Routt
Craig Rowland
+Clinton Roy
Paul Rubin
Sam Ruby
Audun S. Runde
diff --git a/Misc/NEWS b/Misc/NEWS
index c2f2121..89160ff 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -971,6 +971,10 @@
Build
-----
+- Issue #3585: Add pkg-config support. It creates a python-2.7.pc file
+ and a python.pc symlink in the $(LIBDIR)/pkgconfig directory. Patch by
+ Clinton Roy.
+
- Issue #6094: Build correctly with Subversion 1.7.
- Issue #5847: Remove -n switch on "Edit with IDLE" menu item.
diff --git a/Misc/python.pc.in b/Misc/python.pc.in
new file mode 100644
index 0000000..08481a9
--- /dev/null
+++ b/Misc/python.pc.in
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Python
+Description: Python library
+Requires:
+Version: @VERSION@
+Libs.private: @LIBS@
+Libs: -L${libdir} -lpython@VERSION@
+Cflags: -I${includedir}/python@VERSION@
+