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

ruby-changes:26609

From: charliesome <ko1@a...>
Date: Sun, 30 Dec 2012 12:11:29 +0900 (JST)
Subject: [ruby-changes:26609] charliesome:r38660 (trunk): * configure.in: use 4 argument form of AC_CHECK_HEADERS to force

charliesome	2012-12-30 12:11:17 +0900 (Sun, 30 Dec 2012)

  New Revision: 38660

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

  Log:
    * configure.in: use 4 argument form of AC_CHECK_HEADERS to force
      autoconf to use compiler's result

  Modified files:
    trunk/ChangeLog
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 38659)
+++ configure.in	(revision 38660)
@@ -1220,7 +1220,9 @@ main() https://github.com/ruby/ruby/blob/trunk/configure.in#L1220
 		    LINK_SO="$LINK_SO
 $POSTLINK"
 		fi
-		AC_CHECK_HEADERS(crt_externs.h)
+		AC_CHECK_HEADERS(crt_externs.h, [], [], [
+		    #include <crt_externs.h>
+		])
 		],
 [hpux*], [	LIBS="-lm $LIBS"
 		ac_cv_c_inline=no],
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 38659)
+++ ChangeLog	(revision 38660)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Dec 30 12:09:47 2012  Charlie Somerville  <charlie@c...>
+
+	* configure.in: use 4 argument form of AC_CHECK_HEADERS to force
+	  autoconf to use compiler's result
+
 Sun Dec 30 10:58:04 2012  Kazuki Tsujimoto  <kazuki@c...>
 
 	* test/ruby/test_keyword.rb: add a test for passing hash

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

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