* configure.in: ignore all warnings from an arbitrary
header in /usr/local/include. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
62dfc45bb2
commit
256f355af5
@ -1,3 +1,8 @@
|
||||
Sun Sep 25 16:45:05 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in: ignore all warnings from an arbitrary
|
||||
header in /usr/local/include.
|
||||
|
||||
Sun Sep 25 03:43:03 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* enum.c (slice_before_i): use rb_attr_get to surpress wrong warning
|
||||
|
@ -2109,7 +2109,7 @@ if test "$with_dln_a_out" != yes; then
|
||||
# /usr/local/include is always searched for
|
||||
# some reason, but /usr/local/lib is not.
|
||||
hdr=`find /usr/local/include -name \*.h -type f | sed 's:^/usr/local/include/::;q'`
|
||||
if test -n "$hdr" && $CC -E -include "$hdr" -xc /dev/null | fgrep -q "$hdr"; then
|
||||
if test -n "$hdr" && $CC -E -include "$hdr" -xc /dev/null 2>/dev/null | fgrep -q "$hdr"; then
|
||||
$CC -print-search-dirs | grep -q '^libraries:.*:/usr/local/lib/*' ||
|
||||
echo " $LDFLAGS " | grep -q ' -L */usr/local/lib/* ' ||
|
||||
LDFLAGS="${LDFLAGS:+$LDFLAGS }-L/usr/local/lib"
|
||||
|
Loading…
x
Reference in New Issue
Block a user