The Samba-Bugzilla – Attachment 3419 Details for
Bug 5624
bad CFLAGS left by configure test - build fails on sles8
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-Attempt-to-fix-bug-5624.patch (text/plain), 1.46 KB, created by
Volker Lendecke
on 2008-07-18 09:46:34 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2008-07-18 09:46:34 UTC
Size:
1.46 KB
patch
obsolete
>From c18de644f858b8015035ab758f4ffdf4797e3e07 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Fri, 18 Jul 2008 16:41:24 +0200 >Subject: [PATCH] Attempt to fix bug 5624 >MIME-Version: 1.0 >Content-Type: text/plain; charset=utf-8 >Content-Transfer-Encoding: 8bit > >On SLES8 adding -I/usr/include generates warnings later on which make >AC_TRY_RUN_STRICT fail later. > >Thanks to Björn Jacke <bjoern@j3e.de> for reporting this. > >Volker >--- > source/configure.in | 8 ++++++-- > 1 files changed, 6 insertions(+), 2 deletions(-) > >diff --git a/source/configure.in b/source/configure.in >index 986facf..77eba77 100644 >--- a/source/configure.in >+++ b/source/configure.in >@@ -2193,7 +2193,9 @@ for i in $ICONV_LOOK_DIRS ; do > > # This is here to handle -withval stuff for --with-libiconv > # Perhaps we should always add a -L >- CPPFLAGS="$save_CPPFLAGS -I$i/include" >+ if test x$i != x/usr ; then >+ CPPFLAGS="$save_CPPFLAGS -I$i/include" >+ fi > > # Check lib and lib32 library variants to cater for IRIX ABI-specific > # installation paths. This gets a little tricky since we might have iconv >@@ -2222,7 +2224,9 @@ for i in $ICONV_LOOK_DIRS ; do > > if test x"$ICONV_FOUND" = "xyes" ; then > iconv_current_LDFLAGS="-L$i/$libext" >- iconv_current_CPPFLAGS="-I$i/include" >+ if test x$i != x/usr ; then >+ iconv_current_CPPFLAGS="-I$i/include" >+ fi > > if test x"$jm_cv_lib_iconv" != x; then > iconv_current_LIBS="$LIBS -l$jm_cv_lib_iconv" >-- >1.5.5 >
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 5624
: 3419