Author: metze Date: 2005-09-08 10:55:05 +0000 (Thu, 08 Sep 2005) New Revision: 10076
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10076 Log: this macro was moved to build/m4/smb_cc_featues.m4 metze 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 2005-09-08 10:49:21 UTC (rev 10075) +++ branches/SAMBA_4_0/source/build/m4/check_cc.m4 2005-09-08 10:55:05 UTC (rev 10076) @@ -71,24 +71,6 @@ ############################################ # check if the compiler handles c99 struct initialization -AC_DEFUN([SMB_CC_SUPPORTS_C99_STRUCT_INIT], -[ -AC_MSG_CHECKING(for c99 struct initialization) -AC_TRY_COMPILE([ - #include <stdio.h>], - [ - struct foo { - int x; - char y; - } ; - struct foo bar = { - .y = 'X', - .x = 1 - }; - ], -[AC_MSG_RESULT(yes); $1],[AC_MSG_RESULT(no); $2]) -]) - SMB_CC_SUPPORTS_C99_STRUCT_INIT(samba_cv_c99_struct_initialization=yes, samba_cv_c99_struct_initialization=no)
