1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/socket/extconf.rb: reorder header tests to consider inclusion

order in rubysocket.h.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2013-02-16 00:25:54 +00:00
parent d6d0e85320
commit 4b5b88ec79
2 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,8 @@
Sat Feb 16 09:24:37 2013 Tanaka Akira <akr@fsij.org>
* ext/socket/extconf.rb: reorder header tests to consider inclusion
order in rubysocket.h.
Sat Feb 16 08:42:58 2013 Tanaka Akira <akr@fsij.org>
* configure.in, ext/socket/extconf.rb: test netinet/in_systm.h in

View file

@ -30,22 +30,22 @@ end
%w[
sys/feature_tests.h
sys/uio.h
xti.h
netinet/in_systm.h
arpa/inet.h
netinet/tcp.h
netinet/udp.h
arpa/nameser.h
resolv.h
arpa/inet.h
sys/un.h
ifaddrs.h
sys/ioctl.h
sys/sockio.h
net/if.h
sys/param.h
sys/ucred.h
sys/un.h
sys/uio.h
ucred.h
arpa/nameser.h
resolv.h
].each {|h|
if have_header(h, headers)
headers << h