From 87a0e11a8010cb9717e29722fa718887998d34ff Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 24 Nov 2013 14:31:17 +0000 Subject: [PATCH] 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 --- tools/Makefile.am | 1 + tools/heimdal-krb5.pc.in | 11 +++++++++++ tools/krb5.pc.in | 3 +-- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 tools/heimdal-krb5.pc.in diff --git a/tools/Makefile.am b/tools/Makefile.am index e872b3fe7..5dee43b39 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 000000000..5f01f8bff --- /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 4e6c27788..5ed2007c5 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