From 2f72d3a0dd68c67ecf2cd2c7250a2ffb2d1a0b4a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 8 Sep 2005 10:55:05 +0000 Subject: r10076: this macro was moved to build/m4/smb_cc_featues.m4 metze (This used to be commit cd444bd6f0743cd5ba1d2b137c2411d3088ff6f0) --- source4/build/m4/check_cc.m4 | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'source4/build/m4') diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4 index ab934f328b..3ca69c9f87 100644 --- a/source4/build/m4/check_cc.m4 +++ b/source4/build/m4/check_cc.m4 @@ -71,24 +71,6 @@ fi ############################################ # 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 ], - [ - 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) -- cgit