From: marcelo.leitner@gmail.com
To: linux-sctp@vger.kernel.org
Subject: Re: [PATCH v2] libsctp: add pkg-config support
Date: Thu, 03 Mar 2016 11:19:57 +0000 [thread overview]
Message-ID: <20160303111957.GF31743@localhost.localdomain> (raw)
In-Reply-To: <1457003271-2749-1-git-send-email-yegorslists@googlemail.com>
Hi,
On Thu, Mar 03, 2016 at 12:07:51PM +0100, yegorslists@googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
>
> pkg-config is a helper tool used when compiling applications and libraries.
> This patch adds automatic generation and installation of libsctp.pc file,
> that provides libsctp's version, compiler and linker information.
>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Applied, thanks Yegor!
> ---
> Changes:
> v2: add libsctp.pc to DISTCLEANFILES (Marcelo Ricardo Leitner)
>
> Makefile.am | 5 +++++
> configure.ac | 3 ++-
> libsctp.pc.in | 10 ++++++++++
> 3 files changed, 17 insertions(+), 1 deletion(-)
> create mode 100644 libsctp.pc.in
>
> diff --git a/Makefile.am b/Makefile.am
> index 2c9c8c6..8577184 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -9,6 +9,11 @@ EXTRA_DIST += ChangeLog AUTHORS COPYING COPYING.lib INSTALL \
> README ROADMAP NEWS \
> Makefile.vars Makefile.rules Makefile.dirs
>
> +pkgconfigdir = $(libdir)/pkgconfig
> +pkgconfig_DATA = libsctp.pc
> +EXTRA_DIST += libsctp.pc.in
> +DISTCLEANFILES += libsctp.pc
> +
> # bin or src products may be required to generate stuff in test/
> SUBDIRS = man bin src doc
>
> diff --git a/configure.ac b/configure.ac
> index 778dac5..675fb96 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -72,5 +72,6 @@ AC_CONFIG_FILES([lksctp-tools.spec
> src/lib/Makefile
> src/testlib/Makefile
> src/withsctp/Makefile
> - doc/Makefile])
> + doc/Makefile
> + libsctp.pc])
> AC_OUTPUT
> diff --git a/libsctp.pc.in b/libsctp.pc.in
> new file mode 100644
> index 0000000..b1eafaf
> --- /dev/null
> +++ b/libsctp.pc.in
> @@ -0,0 +1,10 @@
> +prefix=@prefix@
> +exec_prefix=@exec_prefix@
> +libdir=@libdir@
> +includedir=@includedir@
> +
> +Name: sctp
> +Description: User-level SCTP API library
> +Version: @VERSION@
> +Libs: -L${libdir} -lsctp
> +Cflags: -I${includedir}
> --
> 2.7.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2016-03-03 11:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-03 11:07 [PATCH v2] libsctp: add pkg-config support yegorslists
2016-03-03 11:19 ` marcelo.leitner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160303111957.GF31743@localhost.localdomain \
--to=marcelo.leitner@gmail.com \
--cc=linux-sctp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.