The Samba-Bugzilla – Attachment 5779 Details for
Bug 7504
numerous build glitches to be fixed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0004-s3-configure-add-Werror_FLAGS-for-IBM-s-xlc.patch
0004-s3-configure-add-Werror_FLAGS-for-IBM-s-xlc.patch (text/plain), 1.81 KB, created by
Björn Jacke
on 2010-06-09 09:58:44 UTC
(
hide
)
Description:
0004-s3-configure-add-Werror_FLAGS-for-IBM-s-xlc.patch
Filename:
MIME Type:
Creator:
Björn Jacke
Created:
2010-06-09 09:58:44 UTC
Size:
1.81 KB
patch
obsolete
>From c64bc9f4420cdc863a9e19bf8ff85a207a7c96b5 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= <bj@sernet.de> >Date: Mon, 24 May 2010 23:28:44 +0200 >Subject: [PATCH 4/9] s3:configure: add Werror_FLAGS for IBM's xlc > >--- > source3/configure.in | 16 ++++++++++++++-- > 1 files changed, 14 insertions(+), 2 deletions(-) > >diff --git a/source3/configure.in b/source3/configure.in >index 74a2479..a0197d4 100644 >--- a/source3/configure.in >+++ b/source3/configure.in >@@ -261,7 +261,7 @@ else > fi > AC_SUBST(BROKEN_CC) > >-dnl Check if the C compiler understands -Werror >+dnl Check if the C compiler understands -Werror (GNU) > AC_CACHE_CHECK([that the C compiler understands -Werror],samba_cv_HAVE_Werror, [ > AC_TRY_RUN_STRICT([ > int main(void) >@@ -283,7 +283,7 @@ AC_CACHE_CHECK([that the C compiler understands -w2],samba_cv_HAVE_w2, [ > if test x"$samba_cv_HAVE_w2" = x"yes"; then > Werror_FLAGS="-w2" > else >-dnl Check if the C compiler understands -errwarn >+dnl Check if the C compiler understands -errwarn (Sun) > AC_CACHE_CHECK([that the C compiler understands -errwarn],samba_cv_HAVE_errwarn, [ > AC_TRY_RUN_STRICT([ > int main(void) >@@ -293,6 +293,18 @@ AC_CACHE_CHECK([that the C compiler understands -errwarn],samba_cv_HAVE_errwarn, > samba_cv_HAVE_errwarn=yes,samba_cv_HAVE_errwarn=no,samba_cv_HAVE_errwarn=cross)]) > if test x"$samba_cv_HAVE_errwarn" = x"yes"; then > Werror_FLAGS="-errwarn=%all" >+else >+dnl Check if the C compiler understands -qhalt (IBM) >+AC_CACHE_CHECK([that the C compiler understands -qhalt],samba_cv_HAVE_qhalt, [ >+ AC_TRY_RUN_STRICT([ >+ int main(void) >+ { >+ return 0; >+ }],[$CFLAGS -qhalt=w],[$CPPFLAGS],[$LDFLAGS], >+ samba_cv_HAVE_qhalt=yes,samba_cv_HAVE_qhalt=no,samba_cv_HAVE_qhalt=cross)]) >+if test x"$samba_cv_HAVE_qhalt" = x"yes"; then >+ Werror_FLAGS="-qhalt=w" >+fi > fi > fi > fi >-- >1.7.1 >
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
Flags:
metze
:
review+
Actions:
View
Attachments on
bug 7504
:
5776
|
5777
|
5778
| 5779 |
5780
|
5781
|
5782
|
5783
|
5784
|
5793
|
5796
|
5798