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

index fea157c40b31dba7507033bc1f9c47997d72cebd..8347afa186f605be8af494b8015d15a61bcf87f8 100644 (file)
@@ -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/source/auth/gensec/gensec.pc.in b/source/auth/gensec/gensec.pc.in
new file mode 100644 (file)
index 0000000..faf772a
--- /dev/null
@@ -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
index cca2d702ba6b11459c8eae3f30433d9622a37b37..4171767c08f8e88d9fd5bfc70010dc285b732128 100644 (file)
@@ -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,
        [],