summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-09-08 10:55:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:37:51 -0500
commit2f72d3a0dd68c67ecf2cd2c7250a2ffb2d1a0b4a (patch)
treeadf61476ebe01cea52c1d31bdc19a6f4d2106ae0 /source4
parent477c8ba5839aa46301a48512a728caaca46f4147 (diff)
downloadsamba-2f72d3a0dd68c67ecf2cd2c7250a2ffb2d1a0b4a.tar.gz
samba-2f72d3a0dd68c67ecf2cd2c7250a2ffb2d1a0b4a.tar.bz2
samba-2f72d3a0dd68c67ecf2cd2c7250a2ffb2d1a0b4a.zip
r10076: this macro was moved to build/m4/smb_cc_featues.m4
metze (This used to be commit cd444bd6f0743cd5ba1d2b137c2411d3088ff6f0)
Diffstat (limited to 'source4')
-rw-r--r--source4/build/m4/check_cc.m418
1 files changed, 0 insertions, 18 deletions
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 <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)