summaryrefslogtreecommitdiff
path: root/source4/build/m4/check_cc.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-25 09:28:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:21 -0500
commitc98d625a885ffee256c02c1fa74314770bf71e12 (patch)
treef69197cc90fb3293d2195237f1d597bc53dd8dde /source4/build/m4/check_cc.m4
parenta78a6fcb4946cb8d07345b23a040f1c022c6415d (diff)
downloadsamba-c98d625a885ffee256c02c1fa74314770bf71e12.tar.gz
samba-c98d625a885ffee256c02c1fa74314770bf71e12.tar.bz2
samba-c98d625a885ffee256c02c1fa74314770bf71e12.zip
r15232: Look for CC flags, not C++ flags..
(This used to be commit fb5c0c1d85c802367871a1a306d4f8b4d01859b4)
Diffstat (limited to 'source4/build/m4/check_cc.m4')
-rw-r--r--source4/build/m4/check_cc.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4
index a56627eecc..8c099512fc 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_CXXFLAGS_GCC_OPTION(-MT, [], [ automatic_dependencies=$new_make ], [])
+AX_CFLAGS_GCC_OPTION(-MT, [], [ automatic_dependencies=$new_make ], [])
AC_MSG_CHECKING([Whether to use automatic dependencies])
AC_MSG_RESULT($automatic_dependencies)
AC_SUBST(automatic_dependencies)