Use the correct pkg-config syntax
(the pkg-config that comes with the RedHat 7.0 glib-gtkbeta RPM
 and not the one from pkgconfig.sourceforge.net which is old).
diff --git a/ChangeLog b/ChangeLog
index e4fa397..bd47037 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,7 +5,7 @@
 	* configure.in: Create the libxml-2.0.pc script from the
 	libxml-2.0.pc.in templates.
 	* Makefile.am (pkgconfig_DATA): Install the libxml-2.0.pc
-	script in `$(libexecdir)/pkgconfig'.
+	script in `$(libdir)/pkgconfig'.
 
 Mon Sep 25 16:23:41 CEST 2000 Daniel Veillard <Daniel.Veillard@w3.org>
 
diff --git a/Makefile.am b/Makefile.am
index 3f93f19..513e127 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -358,7 +358,7 @@
              example/Makefile.am example/gjobread.c example/gjobs.xml \
 	     $(man_MANS) libxml-2.0.pc.in
 
-pkgconfigdir = $(libexecdir)/pkgconfig
+pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libxml-2.0.pc
 
 xmlConf.sh: xmlConf.sh.in Makefile
diff --git a/libxml-2.0.pc.in b/libxml-2.0.pc.in
index 4330454..bb873d7 100644
--- a/libxml-2.0.pc.in
+++ b/libxml-2.0.pc.in
@@ -3,13 +3,10 @@
 libdir=@libdir@
 includedir=@includedir@
 
-VERSION="@VERSION@"
-REQUIRES=""
-CFLAGS="@XML_INCLUDEDIR@ @XML_CFLAGS@ $CFLAGS"
-LIBS_PATH="-L${libdir} $LIBS_PATH"
-LIBS_LINK_SELF="-lxml $LIBS_LINK_SELF"
-LIBS_LINK_SYSTEM="@Z_LIBS@ @M_LIBS@ @LIBS@ $LIBS_LINK_SYSTEM"
 
-
-#Name: libXML
-#Description: libXML library.
+Name: libXML
+Version: @VERSION@
+Description: libXML library.
+Requires:
+Libs: -L${libdir} -lxml @Z_LIBS@ @M_LIBS@ @LIBS@
+Cflags: @XML_INCLUDEDIR@ @XML_CFLAGS@