diff options
author | Simon Josefsson <simon@josefsson.org> | 2004-10-24 14:12:08 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2004-10-24 14:12:08 +0000 |
commit | 4b818ab48744f808bc4a1b121fc95d7bbd89a8c9 (patch) | |
tree | f165dfd1842c97e2bd460d99dc6a7abe29dd71a5 /lib | |
parent | d7216ba5bcb55162bf72f263e9335a7fa2c87093 (diff) | |
download | gnutls-4b818ab48744f808bc4a1b121fc95d7bbd89a8c9.tar.gz |
Add pkg-config meta files, suggested by Stéphane LOEUILLET
<stephane.loeuillet@tiscali.fr>.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.am | 5 | ||||
-rw-r--r-- | lib/gnutls.pc.in | 21 |
2 files changed, 26 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 2d2cf44fce..808896a6e1 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -4,6 +4,11 @@ bin_SCRIPTS = libgnutls-config m4datadir = $(datadir)/aclocal dist_m4data_DATA = libgnutls.m4 +# Pkg-config script. +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = gnutls.pc +DISTCLEANFILES = $(pkgconfig_DATA) + if HAVE_LD_VERSION_SCRIPT libgnutls_version_script_cmd = -Wl,--version-script=$(srcdir)/libgnutls.vers else diff --git a/lib/gnutls.pc.in b/lib/gnutls.pc.in new file mode 100644 index 0000000000..381708d8b0 --- /dev/null +++ b/lib/gnutls.pc.in @@ -0,0 +1,21 @@ +# Process this file with autoconf to produce a pkg-config metadata file. +# Copyright 2002, 2004 Simon Josefsson +# +# This file is free software; as a special exception the author gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. +# +# This file is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: GnuTLS +Description: Transport Security Layer implementation for the GNU system +Version: @VERSION@ +Libs: -L${libdir} -lgnutls +Cflags: -I${includedir} |