From 5c818491fc910ae57693ead4e511746f40befa1f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 25 Apr 2006 10:19:15 +0000 Subject: r15236: Fix -MT detection (This used to be commit 2cc0925280cbcefabfcf399f2c20453a02d8d679) --- source4/build/m4/check_cc.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4 index 8c099512fc..64f44cd6ff 100644 --- a/source4/build/m4/check_cc.m4 +++ b/source4/build/m4/check_cc.m4 @@ -226,7 +226,7 @@ if test x$GNU_MAKE = x"yes"; then fi AC_MSG_RESULT($new_make) automatic_dependencies=no -AX_CFLAGS_GCC_OPTION(-MT, [], [ automatic_dependencies=$new_make ], []) +AX_CFLAGS_GCC_OPTION([-M -MT conftest.d -MF conftest.o], [], [ automatic_dependencies=$new_make ], []) AC_MSG_CHECKING([Whether to use automatic dependencies]) AC_MSG_RESULT($automatic_dependencies) AC_SUBST(automatic_dependencies) -- cgit