]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Create a pkg-config file for libunbound in contrib.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 28 Jun 2016 12:04:09 +0000 (12:04 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 28 Jun 2016 12:04:09 +0000 (12:04 +0000)
git-svn-id: file:///svn/unbound/trunk@3800 be551aaa-1e26-0410-a405-d3ace91eadb9

configure
configure.ac
contrib/libunbound.pc.in [new file with mode: 0644]
doc/Changelog

index b14b8e687a9610c076bb5cf8e7ecb26fe41336eb..15c528195bc5a78d5b3748079082bff4f13bfa59 100755 (executable)
--- a/configure
+++ b/configure
@@ -19848,7 +19848,7 @@ version=1.5.10
 date=`date +'%b %e, %Y'`
 
 
-ac_config_files="$ac_config_files Makefile doc/example.conf doc/libunbound.3 doc/unbound.8 doc/unbound-anchor.8 doc/unbound-checkconf.8 doc/unbound.conf.5 doc/unbound-control.8 doc/unbound-host.1 smallapp/unbound-control-setup.sh dnstap/dnstap_config.h"
+ac_config_files="$ac_config_files Makefile doc/example.conf doc/libunbound.3 doc/unbound.8 doc/unbound-anchor.8 doc/unbound-checkconf.8 doc/unbound.conf.5 doc/unbound-control.8 doc/unbound-host.1 smallapp/unbound-control-setup.sh dnstap/dnstap_config.h contrib/libunbound.pc"
 
 ac_config_headers="$ac_config_headers config.h"
 
@@ -20846,6 +20846,7 @@ do
     "doc/unbound-host.1") CONFIG_FILES="$CONFIG_FILES doc/unbound-host.1" ;;
     "smallapp/unbound-control-setup.sh") CONFIG_FILES="$CONFIG_FILES smallapp/unbound-control-setup.sh" ;;
     "dnstap/dnstap_config.h") CONFIG_FILES="$CONFIG_FILES dnstap/dnstap_config.h" ;;
+    "contrib/libunbound.pc") CONFIG_FILES="$CONFIG_FILES contrib/libunbound.pc" ;;
     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
index e78af41c7644d1336cb4fe67b6414cb24e469509..850fd456569a882dbf0e966e0af50f8f77a30b5b 100644 (file)
@@ -1538,6 +1538,6 @@ dnl if this is a distro tarball, that was already done by makedist.sh
 AC_SUBST(version, [VERSION_MAJOR.VERSION_MINOR.VERSION_MICRO])
 AC_SUBST(date, [`date +'%b %e, %Y'`])
 
-AC_CONFIG_FILES([Makefile doc/example.conf doc/libunbound.3 doc/unbound.8 doc/unbound-anchor.8 doc/unbound-checkconf.8 doc/unbound.conf.5 doc/unbound-control.8 doc/unbound-host.1 smallapp/unbound-control-setup.sh dnstap/dnstap_config.h])
+AC_CONFIG_FILES([Makefile doc/example.conf doc/libunbound.3 doc/unbound.8 doc/unbound-anchor.8 doc/unbound-checkconf.8 doc/unbound.conf.5 doc/unbound-control.8 doc/unbound-host.1 smallapp/unbound-control-setup.sh dnstap/dnstap_config.h contrib/libunbound.pc])
 AC_CONFIG_HEADER([config.h])
 AC_OUTPUT
diff --git a/contrib/libunbound.pc.in b/contrib/libunbound.pc.in
new file mode 100644 (file)
index 0000000..c0d1286
--- /dev/null
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: unbound
+Description: Library with validating, recursive, and caching DNS resolver
+URL: http://www.unbound.net
+Version: @PACKAGE_VERSION@
+Requires: 
+Libs: -L${libdir} -lunbound @SSLLIB@ @LIBS@
+Libs.private: @LDFLAGS@
+Cflags: -I${includedir} 
index 6c4c5f4b4f58603c9a6d65735e31c2db7e88263c..52039ccd0d304bce00d3065e70063eedaf279124 100644 (file)
@@ -1,3 +1,6 @@
+28 June 2016: Wouter
+       - Create a pkg-config file for libunbound in contrib.
+
 27 June 2016: Wouter
        - Fix #784: Build configure assumess that having getpwnam means there
          is endpwent function available.