summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-22 18:28:51 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-22 18:28:51 +0100
commit127e8743193dbb4b0632172ac5a562a3b807f07d (patch)
treea7e1143e2ad1d5cf1d3e2b4edcf8fcd38b296c53
parentcc984e4046726696a0e71a0fda488e947ccd05eb (diff)
downloadsamba-127e8743193dbb4b0632172ac5a562a3b807f07d.tar.gz
samba-127e8743193dbb4b0632172ac5a562a3b807f07d.tar.bz2
samba-127e8743193dbb4b0632172ac5a562a3b807f07d.zip
registry: Use manually written .pc file.
(This used to be commit 5c64d4adaf50215ec2645f76e6c0335572147614)
-rw-r--r--source4/configure.ac2
-rw-r--r--source4/lib/registry/config.mk1
-rw-r--r--source4/lib/registry/registry.pc.in12
3 files changed, 15 insertions, 0 deletions
diff --git a/source4/configure.ac b/source4/configure.ac
index 882bd28d00..59a21375f6 100644
--- a/source4/configure.ac
+++ b/source4/configure.ac
@@ -27,6 +27,8 @@ m4_include(lib/charset/config.m4)
m4_include(lib/socket/config.m4)
m4_include(nsswitch/nsstest.m4)
+AC_OUTPUT(lib/registry/registry.pc)
+
SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= 1.1.0,
[],
[
diff --git a/source4/lib/registry/config.mk b/source4/lib/registry/config.mk
index f1f50479cb..a7365a49ae 100644
--- a/source4/lib/registry/config.mk
+++ b/source4/lib/registry/config.mk
@@ -18,6 +18,7 @@ clean::
# Start SUBSYSTEM registry
[LIBRARY::registry]
VERSION = 0.0.1
+PC_FILE = registry.pc
SO_VERSION = 0
DESCRIPTION = Windows-style registry library
OBJ_FILES = \
diff --git a/source4/lib/registry/registry.pc.in b/source4/lib/registry/registry.pc.in
new file mode 100644
index 0000000000..21184c483c
--- /dev/null
+++ b/source4/lib/registry/registry.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: registry
+Description: Windows-style registry library
+Requires: ldb
+Requires.private:
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lregistry
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1