summaryrefslogtreecommitdiff
path: root/source4/build/m4/check_make.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/m4/check_make.m4')
-rw-r--r--source4/build/m4/check_make.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/build/m4/check_make.m4 b/source4/build/m4/check_make.m4
index e49d89a521..faae179188 100644
--- a/source4/build/m4/check_make.m4
+++ b/source4/build/m4/check_make.m4
@@ -1,6 +1,7 @@
dnl SMB Build Environment make Checks
dnl -------------------------------------------------------
dnl Copyright (C) Stefan (metze) Metzmacher 2004
+dnl Copyright (C) Jelmer Vernooij 2005
dnl Released under the GNU GPL
dnl -------------------------------------------------------
dnl
@@ -39,5 +40,9 @@ AC_MSG_RESULT($new_make)
automatic_dependencies=no
AX_CFLAGS_GCC_OPTION([-M -MT conftest.d -MF conftest.o], [], [ automatic_dependencies=$new_make ], [])
AC_MSG_CHECKING([Whether to use automatic dependencies])
+AC_ARG_ENABLE(automatic-dependencies,
+[ --enable-automatic-dependencies Enable automatic dependencies],
+[ automatic_dependencies=$enableval ],
+[ automatic_dependencies=no ])
AC_MSG_RESULT($automatic_dependencies)
AC_SUBST(automatic_dependencies)