diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-04-25 10:19:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:04:22 -0500 |
commit | 5c818491fc910ae57693ead4e511746f40befa1f (patch) | |
tree | 612e9715b44553e4c21aa67a9cdd3e6d38d33695 /source4 | |
parent | d8f85bac2fc10d8fcc7e4b675c98301a8791a005 (diff) | |
download | samba-5c818491fc910ae57693ead4e511746f40befa1f.tar.gz samba-5c818491fc910ae57693ead4e511746f40befa1f.tar.bz2 samba-5c818491fc910ae57693ead4e511746f40befa1f.zip |
r15236: Fix -MT detection
(This used to be commit 2cc0925280cbcefabfcf399f2c20453a02d8d679)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/build/m4/check_cc.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
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) |