mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Forward-ports r32779 from branches/ruby_1_9_3 to trunk. The original commit
by ktsj. -- configure.in: fix typos. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ddeccd20f1
commit
6280ce3b68
1 changed files with 3 additions and 3 deletions
|
@ -2600,18 +2600,18 @@ AS_CASE(["$FIRSTMAKEFILE"], [*GNUmakefile:*], [gnumake=yes], [
|
|||
AC_MSG_RESULT($gnumake)
|
||||
])
|
||||
AS_IF([test "$gnumake" = yes], [ NULLCMD=: ], [
|
||||
AC_MSG_CHECKING([for safe null command for ${Make-make}])
|
||||
AC_MSG_CHECKING([for safe null command for ${MAKE-make}])
|
||||
mkdir conftest.dir
|
||||
echo 'A=1' > conftest.dir/Makefile
|
||||
echo 'B=$(A:1=@:)' >> conftest.dir/Makefile
|
||||
echo 'all:; $B 1 2 3 4 5 6 7 8 9' >> conftest.dir/Makefile
|
||||
if (cd conftest.dir; ${Make-make} >/dev/null 2>/dev/null); then
|
||||
if (cd conftest.dir; ${MAKE-make} >/dev/null 2>/dev/null); then
|
||||
NULLCMD=:
|
||||
else
|
||||
echo 'A=1' > conftest.dir/Makefile
|
||||
echo 'B=$(A:1=@true)' >> conftest.dir/Makefile
|
||||
echo 'all:; $B 1 2 3 4 5 6 7 8 9' >> conftest.dir/Makefile
|
||||
if (cd conftest.dir; ${Make-make} >/dev/null 2>/dev/null); then
|
||||
if (cd conftest.dir; ${MAKE-make} >/dev/null 2>/dev/null); then
|
||||
NULLCMD=true
|
||||
else
|
||||
AC_MSG_ERROR(no candidate for safe null command)
|
||||
|
|
Loading…
Add table
Reference in a new issue