svn commit: samba r23638 - in branches/SAMBA_4_0/source/build/m4: .

metze at samba.org metze at samba.org
Wed Jun 27 20:32:36 GMT 2007


Author: metze
Date: 2007-06-27 20:32:35 +0000 (Wed, 27 Jun 2007)
New Revision: 23638

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23638

Log:
add SMB_LIBRARY() macro to create a LIBRARY::foo section in
source/config.mk from within *.m4 files

metze
Modified:
   branches/SAMBA_4_0/source/build/m4/public.m4


Changeset:
Modified: branches/SAMBA_4_0/source/build/m4/public.m4
===================================================================
--- branches/SAMBA_4_0/source/build/m4/public.m4	2007-06-27 19:46:53 UTC (rev 23637)
+++ branches/SAMBA_4_0/source/build/m4/public.m4	2007-06-27 20:32:35 UTC (rev 23638)
@@ -34,6 +34,26 @@
 "
 ])
 
+dnl SMB_LIBRARY(name,description,obj_files,required_subsystems,version,so_version,cflags,ldflags)
+AC_DEFUN([SMB_LIBRARY],
+[
+SMB_INFO_LIBRARIES="$SMB_INFO_LIBRARIES
+###################################
+# Start Library $1
+@<:@LIBRARY::$1@:>@
+DESCRIPTION = $2
+OBJ_FILES = $3
+PRIVATE_DEPENDENCIES = $4
+VERSION = $5
+SO_VERSION = $6 
+CFLAGS = $7
+LDFLAGS = $8
+ENABLE = YES
+# End Library $1
+###################################
+"
+])
+
 dnl SMB_EXT_LIB_FROM_PKGCONFIG(name,pkg-config name,[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
 AC_DEFUN([SMB_EXT_LIB_FROM_PKGCONFIG], 
 [



More information about the samba-cvs mailing list