diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-01 13:41:35 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-01 13:41:35 +0000 |
commit | 969f4d4c68ecb9dd03bfc1fa8b12c19ea08046fe (patch) | |
tree | cca128be5415889e9943c24fc0d4173737efa131 /ext/socket/extconf.rb | |
parent | cbb7a67c325e4eeaafd999f0b82704b8470810e5 (diff) | |
download | ruby-969f4d4c68ecb9dd03bfc1fa8b12c19ea08046fe.tar.gz |
* ext/etc/etc.c: add new functions: setpwent, getpwent, endpwent,
setgrent, getgrent, endgrent.
* ext/socket/socket.c (sock_s_gethostbyname): do not reverse lookup.
* Makefile.in: copy lex.c from $(srcdir) if it's not the current
directory. [ruby-dev:21437]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/extconf.rb')
-rw-r--r-- | ext/socket/extconf.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/socket/extconf.rb b/ext/socket/extconf.rb index e888b2a197..234f373170 100644 --- a/ext/socket/extconf.rb +++ b/ext/socket/extconf.rb @@ -385,6 +385,7 @@ have_header("sys/uio.h") if have_func(test_func) have_func("hsterror") + have_func("getipnodebyname") or have_func("gethostbyname2") unless have_func("gethostname") have_func("uname") end |