summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
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)