ruby-changes:36543
From: nobu <ko1@a...>
Date: Fri, 28 Nov 2014 05:10:38 +0900 (JST)
Subject: [ruby-changes:36543] nobu:r48625 (trunk): configure.in: add --with-setup option
nobu 2014-11-28 05:10:26 +0900 (Fri, 28 Nov 2014) New Revision: 48625 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48625 Log: configure.in: add --with-setup option * configure.in (--with-setup): add option to select ext/Setup file. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 48624) +++ configure.in (revision 48625) @@ -3247,7 +3247,14 @@ AS_CASE([",$EXTSTATIC,"], [,static,|*,en https://github.com/ruby/ruby/blob/trunk/configure.in#L3247 AC_SUBST(ENCOBJS) AC_SUBST(EXTOBJS) -if test -f "$srcdir/ext/Setup.$target_os"; then +AC_ARG_WITH(setup, + AS_HELP_STRING([--with-setup=SETUP], [use extension libraries setup]), + [setup=$withval]) +if test -n "$setup"; then + if ! test -f "ext/$setup" -o -f "$srcdir/ext/$setup"; then + AC_MSG_ERROR(Setup file $setup not found under ext or $srcdir/ext) + fi +elif test -f "$srcdir/ext/Setup.$target_os"; then setup="Setup.$target_os" else setup= Index: ChangeLog =================================================================== --- ChangeLog (revision 48624) +++ ChangeLog (revision 48625) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Nov 28 05:10:23 2014 Nobuyoshi Nakada <nobu@r...> + + * configure.in (--with-setup): add option to select ext/Setup file. + Fri Nov 28 05:02:29 2014 Nobuyoshi Nakada <nobu@r...> * dmyenc.c (Init_enc): separate from dmyext.c for statically -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/