From 8524a6f5c925c7573d28e2fecd0f5bae58fbc1ff Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 20 Sep 2006 23:19:37 +0000 Subject: r18749: Disable automatic dependencies by default (use --enable-automatic-dependencies to reenable). (This used to be commit 5506c404877434c403bbe3055c6dd6c32531c96d) --- source4/build/m4/check_make.m4 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/build/m4') 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) -- cgit