From 2cc0925280cbcefabfcf399f2c20453a02d8d679 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 25 Apr 2006 10:19:15 +0000 Subject: [PATCH 1/1] r15236: Fix -MT detection --- source/build/m4/check_cc.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/m4/check_cc.m4 b/source/build/m4/check_cc.m4 index 8c099512fce..64f44cd6ff7 100644 --- a/source/build/m4/check_cc.m4 +++ b/source/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) -- 2.34.1