diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/build/m4/public.m4 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/source4/build/m4/public.m4 b/source4/build/m4/public.m4 index 003605c401..41600986c8 100644 --- a/source4/build/m4/public.m4 +++ b/source4/build/m4/public.m4 @@ -34,6 +34,26 @@ ENABLE = YES " ]) +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], [ |