diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-08 01:57:05 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-08 01:57:05 +0000 |
commit | 97cd982a3e9fb4691af3dc63fdd0c37720def513 (patch) | |
tree | f93d651419db3a3e7a0330f2f7ecc9840ffdfb3f | |
parent | 719804b5df99feb8f8b871051d64bdd73524511f (diff) | |
download | ruby-97cd982a3e9fb4691af3dc63fdd0c37720def513.tar.gz |
* configure.in: OpenBSD needs to include sys/param.h before include
sys/mount.h. [ruby-dev:48167]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu May 8 10:53:14 2014 NARUSE, Yui <naruse@ruby-lang.org> + + * 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@sperling.co.nz> * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): stop diff --git a/configure.in b/configure.in index 57bb40086a..e50e717d46 100644 --- a/configure.in +++ b/configure.in @@ -1121,7 +1121,6 @@ AC_CHECK_HEADERS( \ 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( \ 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], |