The Samba-Bugzilla – Attachment 5769 Details for
Bug 7476
configure fails when checking for 'designated initializers' on NSK
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for libreplace_macros.m4
samba-3.5.3-bug7476.diff (text/plain), 760 bytes, created by
Joachim Schmitz (mail address dead)
on 2010-06-08 07:06:16 UTC
(
hide
)
Description:
Patch for libreplace_macros.m4
Filename:
MIME Type:
Creator:
Joachim Schmitz (mail address dead)
Created:
2010-06-08 07:06:16 UTC
Size:
760 bytes
patch
obsolete
>diff -u ./lib/replace/libreplace_macros.m4.orig ./lib/replace/libreplace_macros.m4 >--- ./lib/replace/libreplace_macros.m4.orig 2010-05-17 06:51:23.000000000 -0500 >+++ ./lib/replace/libreplace_macros.m4 2010-05-31 12:02:49.000000000 -0500 >@@ -55,6 +55,15 @@ > ], > [AC_MSG_RESULT(yes); c99_init=yes],[AC_MSG_RESULT(no)]) > fi >+if test x"$c99_init" = x"no"; then >+ AC_MSG_CHECKING(for C99 designated initializers with -Wc99lite) >+ CFLAGS="$saved_CFLAGS -Wc99lite" >+ AC_TRY_COMPILE([#include <stdio.h>], >+ [ struct foo {int x;char y;}; >+ struct foo bar = { .y = 'X', .x = 1 }; >+ ], >+ [AC_MSG_RESULT(yes); c99_init=yes],[AC_MSG_RESULT(no)]) >+fi > > if test "`uname`" = "HP-UX"; then > if test "$ac_cv_c_compiler_gnu" = no; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7476
:
5751
| 5769