Merged revisions 72898 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72898 | antoine.pitrou | 2009-05-24 22:23:57 +0200 (dim., 24 mai 2009) | 6 lines

  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 e7b6257..e6b9469 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -622,6 +622,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 ca3077a..de833bc 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -87,6 +87,13 @@
 - The _functools and _locale modules are now built into the libpython shared
   library instead of as extension modules.
 
+Build
+-----
+
+- Issue #3585: Add pkg-config support. It creates a python-2.7.pc file
+  and a python3.pc symlink in the $(LIBDIR)/pkgconfig directory. Patch by
+  Clinton Roy.
+
 Tests
 -----
 
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@ 
+