summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/m4/rewrite.m42
-rw-r--r--source4/build/smb_build/public.m419
2 files changed, 20 insertions, 1 deletions
diff --git a/source4/build/m4/rewrite.m4 b/source4/build/m4/rewrite.m4
index 20aef6f80d..0df2b7b65c 100644
--- a/source4/build/m4/rewrite.m4
+++ b/source4/build/m4/rewrite.m4
@@ -1421,7 +1421,7 @@ esac
AC_SUBST(SMBD_EXTRA_OBJS)
AC_SUBST(SMBD_EXTRA_LIBS)
-sinclude(libads/config.m4)
+SMB_INCLUDE_M4(libads/config.m4)
###############################################
# test for where we get crypt() from
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 )