<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>libstrophe.pc.in</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -2,6 +2,7 @@
 *.la
 *~
 .deps
+/libstrophe.pc
 .dirstamp
 .libs/
 .sconsign*</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -3,6 +3,9 @@ AUTOMAKE_OPTIONS = subdir-objects
 
 CFLAGS = -g -Wall -Werror
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libstrophe.pc
+
 builtin_CFLAGS = -I$(top_srcdir)/expat/lib
 builtin_LIBS = libexpat.la
 </diff>
      <filename>Makefile.am</filename>
    </modified>
    <modified>
      <diff>@@ -14,6 +14,7 @@ echo &quot;Regression tests will not be built&quot;
 ])
 AM_CONDITIONAL([HAVE_CHECK], [test x$HAVE_CHECK = xyes])
 
+LIBXML2_REQUIRE=
 AC_ARG_WITH([libxml2],
             [AS_HELP_STRING([--with-libxml2], [use libxml2 for XML parsing])],
             [with_libxml2=check],
@@ -21,12 +22,13 @@ AC_ARG_WITH([libxml2],
 
 if test &quot;x$with_libxml2&quot; != xno; then
   PKG_CHECK_MODULES([libxml2], [libxml-2.0 &gt;= 2.7],
-                    [with_libxml2=yes],
+                    [with_libxml2=yes; LIBXML2_REQUIRE=&quot;libxml-2.0&quot;],
                     [AC_MSG_ERROR([couldn't find libxml2])])
 else
   AC_CHECK_FUNCS(memmove)
   AC_C_BIGENDIAN([byteorder=1234], [byteorder=4321], [], [])
 fi
+AC_SUBST(LIBXML2_REQUIRE)
 
 AC_CHECK_FUNCS(snprintf)
 AC_CHECK_FUNCS(vsnprintf)
@@ -53,5 +55,5 @@ AC_DEFINE_UNQUOTED([BYTEORDER], [$byteorder])
 AC_SUBST(PARSER_NAME)
 AC_SUBST(PARSER_CFLAGS)
 AC_SUBST(PARSER_LIBS)
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile libstrophe.pc])
 AC_OUTPUT</diff>
      <filename>configure.ac</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b0328dd75185505cde4967038dc22f025c682959</id>
    </parent>
  </parents>
  <author>
    <name>Aliaksey Kandratsenka</name>
    <email>alk@tut.by</email>
  </author>
  <url>http://github.com/dustin/libstrophe/commit/9f4c904e3b2663ce98a409a0f38ef9c6a52c4f36</url>
  <id>9f4c904e3b2663ce98a409a0f38ef9c6a52c4f36</id>
  <committed-date>2009-10-01T14:20:30-07:00</committed-date>
  <authored-date>2009-08-21T08:00:24-07:00</authored-date>
  <message>install pkg-config package description, so that it's possible to link libstrophe statically without libtool</message>
  <tree>88f9266490ca94eabd2f7dc4caecbfa1cd15ea92</tree>
  <committer>
    <name>Matt Ingenthron</name>
    <email>ingenthr@cep.net</email>
  </committer>
</commit>
