summaryrefslogtreecommitdiff
path: root/source4/build/m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-03-09 10:44:41 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-10 17:12:12 +0100
commit65e92c6ffefffb34f65e48696c03b9d1da5f7408 (patch)
tree245c5c87a310638d98df1beffad855d512f6eee9 /source4/build/m4
parentbb1d81bab70125d56cfb3e6caff6a01503f33d3d (diff)
downloadsamba-65e92c6ffefffb34f65e48696c03b9d1da5f7408.tar.gz
samba-65e92c6ffefffb34f65e48696c03b9d1da5f7408.tar.bz2
samba-65e92c6ffefffb34f65e48696c03b9d1da5f7408.zip
s4:build/m4/public.m4: add realname argument to SMB_BUILD_LIBRARY()
metze
Diffstat (limited to 'source4/build/m4')
-rw-r--r--source4/build/m4/public.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/build/m4/public.m4 b/source4/build/m4/public.m4
index 5fadcfb08a..c08e2e78bb 100644
--- a/source4/build/m4/public.m4
+++ b/source4/build/m4/public.m4
@@ -43,7 +43,7 @@ ENABLE = YES
"
])
-dnl SMB_BUILD_LIBRARY(name,obj_files,required_subsystems,cflags,ldflags)
+dnl SMB_BUILD_LIBRARY(name,obj_files,required_subsystems,cflags,ldflags,realname)
AC_DEFUN([SMB_BUILD_LIBRARY],
[
MAKE_SETTINGS="$MAKE_SETTINGS
@@ -61,6 +61,7 @@ PRIVATE_DEPENDENCIES = $3
CFLAGS = \$($1_CFLAGS)
LDFLAGS = \$($1_LDFLAGS)
ENABLE = YES
+ifelse([$6], [], [], [LIBRARY_REALNAME = $6])
# End Library $1
###################################
"