ruby-changes:46275
From: nobu <ko1@a...>
Date: Tue, 18 Apr 2017 14:56:39 +0900 (JST)
Subject: [ruby-changes:46275] nobu:r58388 (trunk): configure.in: honor GIT env
nobu 2017-04-18 14:56:34 +0900 (Tue, 18 Apr 2017) New Revision: 58388 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58388 Log: configure.in: honor GIT env * configure.in (--with-git): honor environment variable GIT if set. Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 58387) +++ configure.in (revision 58388) @@ -60,13 +60,13 @@ fi https://github.com/ruby/ruby/blob/trunk/configure.in#L60 AC_SUBST(BASERUBY) AC_SUBST(HAVE_BASERUBY) -GIT=git +: ${GIT=git} HAVE_GIT=yes AC_ARG_WITH(git, AS_HELP_STRING([--without-git], [never use git]), [AS_CASE([$withval], [no], [GIT=never-use HAVE_GIT=no], - [yes], [GIT=git], + [yes], [], [GIT=$withval])]) AS_IF([test x"$HAVE_GIT" = xyes], [command -v "$GIT" > /dev/null || HAVE_GIT=no]) AC_SUBST(GIT) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/