diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-01-22 18:28:51 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-01-22 18:28:51 +0100 |
commit | 127e8743193dbb4b0632172ac5a562a3b807f07d (patch) | |
tree | a7e1143e2ad1d5cf1d3e2b4edcf8fcd38b296c53 | |
parent | cc984e4046726696a0e71a0fda488e947ccd05eb (diff) | |
download | samba-127e8743193dbb4b0632172ac5a562a3b807f07d.tar.gz samba-127e8743193dbb4b0632172ac5a562a3b807f07d.tar.xz samba-127e8743193dbb4b0632172ac5a562a3b807f07d.zip |
registry: Use manually written .pc file.
(This used to be commit 5c64d4adaf50215ec2645f76e6c0335572147614)
-rw-r--r-- | source4/configure.ac | 2 | ||||
-rw-r--r-- | source4/lib/registry/config.mk | 1 | ||||
-rw-r--r-- | source4/lib/registry/registry.pc.in | 12 |
3 files changed, 15 insertions, 0 deletions
diff --git a/source4/configure.ac b/source4/configure.ac index 882bd28d001..59a21375f65 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 f1f50479cbc..a7365a49ae0 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 00000000000..21184c483c6 --- /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 |