* configure.in (RUBY_CPPOUTFILE): check if output file is actually
  created.  [ruby-dev:45742] [Bug#6591]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-06-14 13:49:51 +00:00
Родитель ea325fcd67
Коммит b1644bfca9
2 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Thu Jun 14 22:49:44 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (RUBY_CPPOUTFILE): check if output file is actually
created. [ruby-dev:45742] [Bug#6591]
Thu Jun 14 22:10:50 2012 Tanaka Akira <akr@fsij.org> Thu Jun 14 22:10:50 2012 Tanaka Akira <akr@fsij.org>
* process.c (proc_exec_sh): don't strip leading spaces of the script. * process.c (proc_exec_sh): don't strip leading spaces of the script.

Просмотреть файл

@ -137,8 +137,9 @@ AC_DEFUN([RUBY_NACL_CHECK_PEPPER_TYPES],
AC_DEFUN([RUBY_CPPOUTFILE], AC_DEFUN([RUBY_CPPOUTFILE],
[AC_CACHE_CHECK(whether ${CPP} accepts -o, rb_cv_cppoutfile, [AC_CACHE_CHECK(whether ${CPP} accepts -o, rb_cv_cppoutfile,
[cppflags=$CPPFLAGS [cppflags=$CPPFLAGS
CPPFLAGS='-o conftest.i' CPPFLAGS='-o conftest-1.i'
AC_TRY_CPP([], rb_cv_cppoutfile=yes, rb_cv_cppoutfile=no) rb_cv_cppoutfile=no
AC_TRY_CPP([], [test -f conftest-1.i && 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