зеркало из https://github.com/github/ruby.git
* ext/etc/extconf.rb: use expanded sysconfdir with empty DESTDIR.
[ruby-core:32394] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
d0e9ac151e
Коммит
afd241f7ee
|
@ -1,3 +1,8 @@
|
|||
Thu Sep 16 08:27:36 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/etc/extconf.rb: use expanded sysconfdir with empty DESTDIR.
|
||||
[ruby-core:32394]
|
||||
|
||||
Thu Sep 16 06:07:24 2010 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/pathname/pathname.c (path_rmdir): Pathname#rmdir translated
|
||||
|
|
|
@ -4,7 +4,7 @@ have_library("sun", "getpwnam") # NIS (== YP) interface for IRIX 4
|
|||
a = have_func("getlogin")
|
||||
b = have_func("getpwent")
|
||||
c = have_func("getgrent")
|
||||
sysconfdir = RbConfig.expand(RbConfig::MAKEFILE_CONFIG["sysconfdir"].dup, "prefix"=>"")
|
||||
sysconfdir = RbConfig.expand(RbConfig::CONFIG["sysconfdir"].dup, "prefix"=>"", "DESTDIR"=>"")
|
||||
$defs.push("-DSYSCONFDIR=#{Shellwords.escape(sysconfdir.dump)}")
|
||||
if a or b or c or sysconfdir
|
||||
have_struct_member('struct passwd', 'pw_gecos', 'pwd.h')
|
||||
|
|
Загрузка…
Ссылка в новой задаче