summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-22 18:41:30 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-22 18:41:30 +0100
commitf254d532025cd50314a808be72ce59cdd8f1eb87 (patch)
tree6fbc8839b1a897636ae3b5707b89b01486faa83b /source4
parent2f98f4b24e2c5b73423d079e5a66955eb4a343e9 (diff)
downloadsamba-f254d532025cd50314a808be72ce59cdd8f1eb87.tar.gz
samba-f254d532025cd50314a808be72ce59cdd8f1eb87.tar.bz2
samba-f254d532025cd50314a808be72ce59cdd8f1eb87.zip
param: Use manually written .pc file.
(This used to be commit c0165aab47b4948b8767517b7795c6ec28fb6b6b)
Diffstat (limited to 'source4')
-rw-r--r--source4/configure.ac1
-rw-r--r--source4/param/config.mk1
-rw-r--r--source4/param/samba-config.pc.in10
3 files changed, 12 insertions, 0 deletions
diff --git a/source4/configure.ac b/source4/configure.ac
index 4171767c08..8c0f176e5f 100644
--- a/source4/configure.ac
+++ b/source4/configure.ac
@@ -32,6 +32,7 @@ AC_OUTPUT(librpc/dcerpc.pc)
AC_OUTPUT(librpc/ndr.pc)
AC_OUTPUT(torture/torture.pc)
AC_OUTPUT(auth/gensec/gensec.pc)
+AC_OUTPUT(param/samba-config.pc)
SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= 1.1.0,
[],
diff --git a/source4/param/config.mk b/source4/param/config.mk
index f7d5d03d43..dd524cf31e 100644
--- a/source4/param/config.mk
+++ b/source4/param/config.mk
@@ -2,6 +2,7 @@
DESCRIPTION = Reading Samba configuration files
VERSION = 0.0.1
SO_VERSION = 0
+PC_FILE = samba-config.pc
OBJ_FILES = loadparm.o \
params.o \
generic.o \
diff --git a/source4/param/samba-config.pc.in b/source4/param/samba-config.pc.in
new file mode 100644
index 0000000000..801f6aeda4
--- /dev/null
+++ b/source4/param/samba-config.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: samba-config
+Description: Reading Samba configuration files
+Version: 0.0.1
+Libs: -L${libdir} -lsamba-config
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1