ruby-changes:32218
From: nobu <ko1@a...>
Date: Fri, 20 Dec 2013 16:01:02 +0900 (JST)
Subject: [ruby-changes:32218] nobu:r44297 (trunk): configure.in: use RUBY_APPEND_OPTIONS
nobu 2013-12-20 16:00:56 +0900 (Fri, 20 Dec 2013) New Revision: 44297 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44297 Log: configure.in: use RUBY_APPEND_OPTIONS * configure.in: DLDFLAGS is defined in --with-opt-dir handler, so ${DLDFLAGS=} does not work now. use RUBY_APPEND_OPTIONS instead. [ruby-dev:47855] [Bug #9256] Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 44296) +++ configure.in (revision 44297) @@ -2667,7 +2667,10 @@ if test "$with_dln_a_out" != yes; then https://github.com/ruby/ruby/blob/trunk/configure.in#L2667 fi rb_cv_dlopen=yes], [darwin*], [ : ${LDSHARED='$(CC) -dynamic -bundle'} - : ${DLDFLAGS="${linker_flag}-undefined${linker_flag:+,}dynamic_lookup ${linker_flag}-multiply_defined${linker_flag:+,}suppress"} + RUBY_APPEND_OPTIONS(DLDFLAGS, [ \ + "${linker_flag}-undefined${linker_flag:+,}dynamic_lookup" \ + "${linker_flag}-multiply_defined${linker_flag:+,}suppress" \ + ]) : ${LDFLAGS=""} : ${LIBPATHENV=DYLD_LIBRARY_PATH} # /usr/local/include is always searched for Index: ChangeLog =================================================================== --- ChangeLog (revision 44296) +++ ChangeLog (revision 44297) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Dec 20 16:00:52 2013 Nobuyoshi Nakada <nobu@r...> + + * configure.in: DLDFLAGS is defined in --with-opt-dir handler, so + ${DLDFLAGS=} does not work now. use RUBY_APPEND_OPTIONS instead. + [ruby-dev:47855] [Bug #9256] + Fri Dec 20 14:19:12 2013 NARUSE, Yui <naruse@r...> * configure.in (AC_ARG_WITH): use withval directly. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/