[前][次][番号順一覧][スレッド一覧]

ruby-changes:21278

From: nobu <ko1@a...>
Date: Sun, 25 Sep 2011 16:46:54 +0900 (JST)
Subject: [ruby-changes:21278] nobu:r33327 (trunk): * configure.in: ignore all warnings from an arbitrary

nobu	2011-09-25 16:45:08 +0900 (Sun, 25 Sep 2011)

  New Revision: 33327

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33327

  Log:
    * configure.in: ignore all warnings from an arbitrary
      header in /usr/local/include.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 33326)
+++ configure.in	(revision 33327)
@@ -2109,7 +2109,7 @@
 			# /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"
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33326)
+++ ChangeLog	(revision 33327)
@@ -1,3 +1,8 @@
+Sun Sep 25 16:45:05 2011  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in: ignore all warnings from an arbitrary
+	  header in /usr/local/include.
+
 Sun Sep 25 03:43:03 2011  NARUSE, Yui  <naruse@r...>
 
 	* enum.c (slice_before_i): use rb_attr_get to surpress wrong warning

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]