зеркало из https://github.com/github/ruby.git
fix CPPOUTFILE
* configure.in (RUBY_CPPOUTFILE): check if output is really sent to specified file to tell if -o option works. [ruby-dev:45742] [Bug#6591] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
b1644bfca9
Коммит
d1351e98fd
|
@ -1,4 +1,8 @@
|
||||||
Thu Jun 14 22:49:44 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Jun 14 22:59:56 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in (RUBY_CPPOUTFILE): check if output is really sent to
|
||||||
|
specified file to tell if -o option works. [ruby-dev:45742]
|
||||||
|
[Bug#6591]
|
||||||
|
|
||||||
* configure.in (RUBY_CPPOUTFILE): check if output file is actually
|
* configure.in (RUBY_CPPOUTFILE): check if output file is actually
|
||||||
created. [ruby-dev:45742] [Bug#6591]
|
created. [ruby-dev:45742] [Bug#6591]
|
||||||
|
|
|
@ -139,7 +139,8 @@ AC_DEFUN([RUBY_CPPOUTFILE],
|
||||||
[cppflags=$CPPFLAGS
|
[cppflags=$CPPFLAGS
|
||||||
CPPFLAGS='-o conftest-1.i'
|
CPPFLAGS='-o conftest-1.i'
|
||||||
rb_cv_cppoutfile=no
|
rb_cv_cppoutfile=no
|
||||||
AC_TRY_CPP([], [test -f conftest-1.i && rb_cv_cppoutfile=yes])
|
AC_TRY_CPP([test-for-cppout],
|
||||||
|
[grep test-for-cppout conftest-1.i > /dev/null && rb_cv_cppoutfile=yes])
|
||||||
CPPFLAGS=$cppflags
|
CPPFLAGS=$cppflags
|
||||||
rm -f conftest*])
|
rm -f conftest*])
|
||||||
if test "$rb_cv_cppoutfile" = yes; then
|
if test "$rb_cv_cppoutfile" = yes; then
|
||||||
|
|
Загрузка…
Ссылка в новой задаче