[前][次][番号順一覧][スレッド一覧]

ruby-changes:73555

From: Kenta <ko1@a...>
Date: Wed, 14 Sep 2022 23:15:30 +0900 (JST)
Subject: [ruby-changes:73555] 2e25b85a7e (master): configure.ac: Apply suggestions from code review in #6366

https://git.ruby-lang.org/ruby.git/commit/?id=2e25b85a7e

From 2e25b85a7e4268676fcdf17b5975c2fd60066ce1 Mon Sep 17 00:00:00 2001
From: Kenta Murata <3959+mrkn@u...>
Date: Wed, 14 Sep 2022 21:20:32 +0900
Subject: configure.ac: Apply suggestions from code review in #6366

Co-authored-by: Nobuyoshi Nakada <nobu@r...>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 92b1a6a696..43f1541f3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -933,11 +933,11 @@ OPT_DIR= https://github.com/ruby/ruby/blob/trunk/configure.ac#L933
 AC_ARG_WITH([gmp-dir],
   AS_HELP_STRING([--with-gmp-dir=DIR],
                  [specify the prefix directory where gmp is installed]),
-  [OPT_DIR="$withval"], [])
+  [OPT_DIR="${OPT_DIR:+$OPT_DIR$PATH_SEPARATOR}$withval"], [])
 AC_ARG_WITH([gmp],
   [AS_HELP_STRING([--without-gmp],
                   [disable GNU GMP to accelerate Bignum operations])],
-  [OPT_DIR=], [with_gmp=yes])
+  [], [with_gmp=yes])
 
 AC_ARG_WITH(opt-dir,
 	AS_HELP_STRING([--with-opt-dir=DIR-LIST],
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]