summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-18 13:12:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:49 -0500
commit25b69856ec2ecd7f33ea833cc8f604e08d35b6c7 (patch)
tree6d49092bde415b56ac1a63d660cd93f821fbc77f /source4/build/smb_build
parentc650534613e1becb1a28c6d7d2a82cc7c2225d5c (diff)
downloadsamba-25b69856ec2ecd7f33ea833cc8f604e08d35b6c7.tar.gz
samba-25b69856ec2ecd7f33ea833cc8f604e08d35b6c7.tar.bz2
samba-25b69856ec2ecd7f33ea833cc8f604e08d35b6c7.zip
r765: add SMB_INCLUDE_M4() macro as wrapper arround sinclude()
metze (This used to be commit afbe692b47f4aa6ebe2155927be00197fafe13f3)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/public.m419
1 files changed, 19 insertions, 0 deletions
diff --git a/source4/build/smb_build/public.m4 b/source4/build/smb_build/public.m4
index 863dddc7a2..0d4be5313d 100644
--- a/source4/build/smb_build/public.m4
+++ b/source4/build/smb_build/public.m4
@@ -104,6 +104,11 @@ dnl 1:name
dnl 2:calledname
dnl )
dnl
+dnl SMB_INCLUDE_M4(
+dnl 1: inputfile
+dnl 2: comment
+dnl )
+dnl
dnl SMB_AC_OUTPUT(
dnl 1: outputfile
dnl )
@@ -493,6 +498,20 @@ AC_DEFUN([SMB_MAKE_TARGET],
echo "#SMB_MAKE_TARGET TOTO"
])
+dnl SMB_INCLUDE_M4(
+dnl 1: inputfile
+dnl 2: comment
+dnl )
+AC_DEFUN([SMB_INCLUDE_M4],
+[
+###################################
+# Start Include $1
+# $2
+sinclude($1)
+# End Include $1
+###################################
+])
+
dnl SMB_AC_OUTPUT(
dnl 1: outputfile
dnl )