diff -uNr gtest-1.4.0_ORIG/configure.ac gtest-1.4.0/configure.ac --- gtest-1.4.0_ORIG/configure.ac 2009-10-02 08:04:30.000000000 +0100 +++ gtest-1.4.0/configure.ac 2010-03-26 07:46:34.855299451 +0000 @@ -48,4 +48,4 @@ # and architecture characteristics. # Output the generated files. No further autoconf macros may be used. -AC_OUTPUT +AC_OUTPUT(libgtest.pc) diff -uNr gtest-1.4.0_ORIG/libgtest.pc.in gtest-1.4.0/libgtest.pc.in --- gtest-1.4.0_ORIG/libgtest.pc.in 1970-01-01 01:00:00.000000000 +0100 +++ gtest-1.4.0/libgtest.pc.in 2010-03-26 07:46:51.291322534 +0000 @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libgtest +Description: Google's framework for writing C++ tests on a variety of platforms +Version: @VERSION@ +Libs: -L${libdir} -lgtest +Cflags: -I${includedir} diff -uNr gtest-1.4.0_ORIG/Makefile.am gtest-1.4.0/Makefile.am --- gtest-1.4.0_ORIG/Makefile.am 2009-10-02 08:04:30.000000000 +0100 +++ gtest-1.4.0/Makefile.am 2010-03-26 07:46:35.651324164 +0000 @@ -439,3 +439,7 @@ test/gtest_nc_test.py endif + +# Add pkgconfig file +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = libgtest.pc