summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-22 18:39:54 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-22 18:39:54 +0100
commit2f98f4b24e2c5b73423d079e5a66955eb4a343e9 (patch)
treed3f64c5c4900045c37b2aaad92e37e411e2f58aa
parent0ae14b6cb4f6a0e8b8df18e6c0d64ee98345e558 (diff)
downloadsamba-2f98f4b24e2c5b73423d079e5a66955eb4a343e9.tar.gz
samba-2f98f4b24e2c5b73423d079e5a66955eb4a343e9.tar.bz2
samba-2f98f4b24e2c5b73423d079e5a66955eb4a343e9.zip
gensec: Use manually written .pc file.
(This used to be commit 96a5ac9db2399019518e134a00c564ec1066f536)
-rw-r--r--source4/auth/gensec/config.mk1
-rw-r--r--source4/auth/gensec/gensec.pc.in11
-rw-r--r--source4/configure.ac1
3 files changed, 13 insertions, 0 deletions
diff --git a/source4/auth/gensec/config.mk b/source4/auth/gensec/config.mk
index fea157c40b..8347afa186 100644
--- a/source4/auth/gensec/config.mk
+++ b/source4/auth/gensec/config.mk
@@ -1,6 +1,7 @@
#################################
# Start SUBSYSTEM gensec
[LIBRARY::gensec]
+PC_FILE = gensec.pc
VERSION = 0.0.1
SO_VERSION = 0
DESCRIPTION = Generic Security Library
diff --git a/source4/auth/gensec/gensec.pc.in b/source4/auth/gensec/gensec.pc.in
new file mode 100644
index 0000000000..faf772ae73
--- /dev/null
+++ b/source4/auth/gensec/gensec.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+modulesdir=${prefix}/modules/gensec
+
+Name: gensec
+Description: Generic Security Library
+Version: 0.0.1
+Libs: -L${libdir} -lgensec
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
diff --git a/source4/configure.ac b/source4/configure.ac
index cca2d702ba..4171767c08 100644
--- a/source4/configure.ac
+++ b/source4/configure.ac
@@ -31,6 +31,7 @@ AC_OUTPUT(lib/registry/registry.pc)
AC_OUTPUT(librpc/dcerpc.pc)
AC_OUTPUT(librpc/ndr.pc)
AC_OUTPUT(torture/torture.pc)
+AC_OUTPUT(auth/gensec/gensec.pc)
SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= 1.1.0,
[],