From 0ae14b6cb4f6a0e8b8df18e6c0d64ee98345e558 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 22 Jan 2008 18:38:14 +0100 Subject: torture: Use manually written .pc file. (This used to be commit d43b18cc5e8b58ca965205cccfe25f8a120d2ca7) --- source4/configure.ac | 1 + source4/torture/config.mk | 1 + source4/torture/torture.pc.in | 12 ++++++++++++ 3 files changed, 14 insertions(+) create mode 100644 source4/torture/torture.pc.in 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 -- cgit