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

ruby-changes:33792

From: naruse <ko1@a...>
Date: Thu, 8 May 2014 10:57:13 +0900 (JST)
Subject: [ruby-changes:33792] naruse:r45873 (trunk): * configure.in: OpenBSD needs to include sys/param.h before include

naruse	2014-05-08 10:57:05 +0900 (Thu, 08 May 2014)

  New Revision: 45873

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

  Log:
    * configure.in: OpenBSD needs to include sys/param.h before include
      sys/mount.h. [ruby-dev:48167]

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 45872)
+++ configure.in	(revision 45873)
@@ -1121,7 +1121,6 @@ AC_CHECK_HEADERS( \ https://github.com/ruby/ruby/blob/trunk/configure.in#L1121
   sys/syscall.h \
   fcntl.h \
   sys/fcntl.h \
-  sys/mount.h \
   sys/select.h \
   sys/time.h \
   sys/times.h \
@@ -1155,6 +1154,9 @@ AC_CHECK_HEADERS( \ https://github.com/ruby/ruby/blob/trunk/configure.in#L1154
   malloc/malloc.h \
   setjmpex.h
 )
+AC_CHECK_HEADERS(sys/mount.h, [], [], [@%:@ifdef HAVE_SYS_PARAM_H
+@%:@ include <sys/param.h>
+@%:@endif])
 
 AC_ARG_WITH([gmp],
   [AS_HELP_STRING([--without-gmp],
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 45872)
+++ ChangeLog	(revision 45873)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu May  8 10:53:14 2014  NARUSE, Yui  <naruse@r...>
+
+	* configure.in: OpenBSD needs to include sys/param.h before include
+	  sys/mount.h. [ruby-dev:48167]
+
 Thu May  8 10:17:04 2014  Karsten Sperling  <karsten@s...>
 
 	* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): stop

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

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