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

index f35251ec8eaa1381db9d32f1d35018cb22b25f73..cca2d702ba6b11459c8eae3f30433d9622a37b37 100644 (file)
@@ -30,6 +30,7 @@ m4_include(nsswitch/nsstest.m4)
 AC_OUTPUT(lib/registry/registry.pc)
 AC_OUTPUT(librpc/dcerpc.pc)
 AC_OUTPUT(librpc/ndr.pc)
+AC_OUTPUT(torture/torture.pc)
 
 SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= 1.1.0,
        [],
index dd0ca83f7d962e450ac78401a5d17b6a5de5d4a2..28a4c4b0236ae2ab9e324d2269488b70247207ca 100644 (file)
@@ -3,6 +3,7 @@
 DESCRIPTION = Samba torture (test) suite
 SO_VERSION = 0
 VERSION = 0.0.1
+PC_FILE = torture.pc
 PUBLIC_HEADERS = torture.h ui.h
 PUBLIC_PROTO_HEADER = proto.h
 OBJ_FILES = \
diff --git a/source/torture/torture.pc.in b/source/torture/torture.pc.in
new file mode 100644 (file)
index 0000000..6582816
--- /dev/null
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+modulesdir=${prefix}/modules/torture
+
+Name: torture
+Description: Samba torture (test) suite
+Requires: talloc
+Version: 0.0.1
+Libs: -L${libdir} -ltorture 
+Cflags: -I${includedir}  -DHAVE_IMMEDIATE_STRUCTURES=1