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

ruby-changes:26825

From: nobu <ko1@a...>
Date: Fri, 18 Jan 2013 18:14:21 +0900 (JST)
Subject: [ruby-changes:26825] nobu:r38877 (trunk): configure.in: clang temporary files

nobu	2013-01-18 18:14:11 +0900 (Fri, 18 Jan 2013)

  New Revision: 38877

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

  Log:
    configure.in: clang temporary files
    
    * configure.in: clang leaves temporary files when interrupted by
      SIGPIPE if input is not stdin.

  Modified files:
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 38876)
+++ configure.in	(revision 38877)
@@ -2277,7 +2277,7 @@ if test "$with_dln_a_out" != yes; then https://github.com/ruby/ruby/blob/trunk/configure.in#L2277
 			# /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 2>/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"

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

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