ruby-changes:65484
From: Nobuyoshi <ko1@a...>
Date: Wed, 17 Mar 2021 20:00:14 +0900 (JST)
Subject: [ruby-changes:65484] 447feb0aa0 (master): Improved autogen.sh
https://git.ruby-lang.org/ruby.git/commit/?id=447feb0aa0 From 447feb0aa08e20cc5eeb8b3a6f881de261a2c9a2 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 17 Mar 2021 19:51:13 +0900 Subject: Improved autogen.sh * update in the source directory * make symbolic links instead of copies * forward the arguments to autoreconf as-is --- autogen.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 7c148da..68f8996 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/autogen.sh#L1 #!/bin/sh -${AUTORECONF:-autoreconf} --install $* +PWD= +case "$0" in +*/*) srcdir="${0%/*}/";; +*) srcdir="";; +esac + +exec ${AUTORECONF:-autoreconf} --install --symlink "$@" ${srcdir:+"$srcdir"} -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/