svn commit: samba r15236 - in branches/SAMBA_4_0/source/build/m4: .
jelmer at samba.org
jelmer at samba.org
Tue Apr 25 10:19:15 GMT 2006
Author: jelmer
Date: 2006-04-25 10:19:15 +0000 (Tue, 25 Apr 2006)
New Revision: 15236
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15236
Log:
Fix -MT detection
Modified:
branches/SAMBA_4_0/source/build/m4/check_cc.m4
Changeset:
Modified: branches/SAMBA_4_0/source/build/m4/check_cc.m4
===================================================================
--- branches/SAMBA_4_0/source/build/m4/check_cc.m4 2006-04-25 09:57:18 UTC (rev 15235)
+++ branches/SAMBA_4_0/source/build/m4/check_cc.m4 2006-04-25 10:19:15 UTC (rev 15236)
@@ -226,7 +226,7 @@
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)
More information about the samba-cvs
mailing list