summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-22 18:38:14 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-22 18:38:14 +0100
commit0ae14b6cb4f6a0e8b8df18e6c0d64ee98345e558 (patch)
treedaff7b09533ed8ec7ab937d38eebc6bbc48403db
parent9209470b920eaa904129ae43d454db2526f97ca8 (diff)
downloadsamba-0ae14b6cb4f6a0e8b8df18e6c0d64ee98345e558.tar.gz
samba-0ae14b6cb4f6a0e8b8df18e6c0d64ee98345e558.tar.bz2
samba-0ae14b6cb4f6a0e8b8df18e6c0d64ee98345e558.zip
torture: Use manually written .pc file.
(This used to be commit d43b18cc5e8b58ca965205cccfe25f8a120d2ca7)
-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