summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/configure.ac1
-rw-r--r--source4/torture/config.mk1
-rw-r--r--source4/torture/torture.pc.in12
3 files changed, 14 insertions, 0 deletions
diff --git a/source4/configure.ac b/source4/configure.ac
index f35251ec8e..cca2d702ba 100644
--- a/source4/configure.ac
+++ b/source4/configure.ac
@@ -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,
[],
diff --git a/source4/torture/config.mk b/source4/torture/config.mk
index dd0ca83f7d..28a4c4b023 100644
--- a/source4/torture/config.mk
+++ b/source4/torture/config.mk
@@ -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/source4/torture/torture.pc.in b/source4/torture/torture.pc.in
new file mode 100644
index 0000000000..6582816cb5
--- /dev/null
+++ b/source4/torture/torture.pc.in
@@ -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