Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
libipq: add pkgconfig file
Browse files Browse the repository at this point in the history
This is just to make sure that projects (still) using it do so with
the right cflags, e.g. for when the include file ends up in a
non-standard location due to ./configure having been called with
--include=/somewhere/else.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
  • Loading branch information
Jan Engelhardt committed Aug 8, 2011
1 parent fa2ce1c commit 4982fe4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.ac
Expand Up @@ -111,6 +111,7 @@ AC_SUBST([libxtables_vmajor])

AC_CONFIG_FILES([Makefile extensions/GNUmakefile include/Makefile
iptables/Makefile iptables/xtables.pc
libipq/Makefile libiptc/Makefile libiptc/libiptc.pc utils/Makefile
libipq/Makefile libipq/libipq.pc
libiptc/Makefile libiptc/libiptc.pc utils/Makefile
include/xtables.h include/iptables/internal.h])
AC_OUTPUT
1 change: 1 addition & 0 deletions libipq/.gitignore
@@ -0,0 +1 @@
/libipq.pc
2 changes: 2 additions & 0 deletions libipq/Makefile.am
Expand Up @@ -9,3 +9,5 @@ man_MANS = ipq_create_handle.3 ipq_destroy_handle.3 ipq_errstr.3 \
ipq_get_msgerr.3 ipq_get_packet.3 ipq_message_type.3 \
ipq_perror.3 ipq_read.3 ipq_set_mode.3 ipq_set_verdict.3 \
libipq.3

pkgconfig_DATA = libipq.pc
11 changes: 11 additions & 0 deletions libipq/libipq.pc.in
@@ -0,0 +1,11 @@

prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@

Name: libipq
Description: Interface to the (old) ip_queue mechanism
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lipq
Cflags: -I${includedir}

0 comments on commit 4982fe4

Please sign in to comment.