param: Use manually written .pc file.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 22 Jan 2008 17:41:30 +0000 (18:41 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 22 Jan 2008 17:41:30 +0000 (18:41 +0100)
source/configure.ac
source/param/config.mk
source/param/samba-config.pc.in [new file with mode: 0644]

index 4171767c08f8e88d9fd5bfc70010dc285b732128..8c0f176e5f5a901be72a0c5a95cbe9535af7e1b3 100644 (file)
@@ -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,
        [],
index f7d5d03d43baa130113c4cb4d25975fea2fb40b0..dd524cf31e2da289112d5a770e08552a057830f9 100644 (file)
@@ -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/source/param/samba-config.pc.in b/source/param/samba-config.pc.in
new file mode 100644 (file)
index 0000000..801f6ae
--- /dev/null
@@ -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