commit 49deb4a0bb3c05b3821e06f796799095fa0118a2
Author: Jelmer Vernooij <jelmer@samba.org>
Date:   Sun Nov 24 14:31:17 2013 +0000

    Add heimdal-krb5.pc file, with krb5.pc depending on it.
    
    This makes it easier to install Heimdal and MIT kerberos on
    the same system by just providing the heimdal-krb5.pc file;
    the krb5.pc file is provided by both.
    
    This is similar to what's done with heimdal-gssapi.pc/krb5-gssapi.pc.
    
    Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

diff --git a/tools/Makefile.am b/tools/Makefile.am
index e872b3f..5dee43b 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -8,6 +8,7 @@ pkgconfigdir = $(libdir)/pkgconfig
 
 pkgconfig_DATA = \
 	heimdal-gssapi.pc \
+	heimdal-krb5.pc \
 	kafs.pc \
 	kadm-client.pc \
 	kadm-server.pc \
diff --git a/tools/heimdal-krb5.pc.in b/tools/heimdal-krb5.pc.in
new file mode 100644
index 0000000..4e6c277
--- /dev/null
+++ b/tools/heimdal-krb5.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+vendor=Heimdal
+
+Name: heimdal-krb5
+Description: Heimdal implementation of the kerberos network authentication.
+Version: @VERSION@
+Libs: -L${libdir} -lkrb5 @LIB_pkinit@ -lcom_err @LIB_hcrypto_appl@ -lasn1 -lwind -lheimbase -lroken @LIB_crypt@ @PTHREAD_LIBADD@ @LIB_dlopen@ @LIB_door_create@ @LIBS@
+Cflags: -I${includedir}
diff --git a/tools/krb5.pc.in b/tools/krb5.pc.in
index 4e6c277..5ed2007 100644
--- a/tools/krb5.pc.in
+++ b/tools/krb5.pc.in
@@ -7,5 +7,4 @@ vendor=Heimdal
 Name: krb5
 Description: Heimdal implementation of the kerberos network authentication.
 Version: @VERSION@
-Libs: -L${libdir} -lkrb5 @LIB_pkinit@ -lcom_err @LIB_hcrypto_appl@ -lasn1 -lwind -lheimbase -lroken @LIB_crypt@ @PTHREAD_LIBADD@ @LIB_dlopen@ @LIB_door_create@ @LIBS@
-Cflags: -I${includedir}
+Requires: heimdal-krb5
