ruby-changes:21809
From: kosaki <ko1@a...>
Date: Sun, 27 Nov 2011 13:30:54 +0900 (JST)
Subject: [ruby-changes:21809] kosaki:r33858 (trunk): * configure.in: workaround to avoid MacOS X build error.
kosaki 2011-11-27 13:30:44 +0900 (Sun, 27 Nov 2011) New Revision: 33858 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33858 Log: * configure.in: workaround to avoid MacOS X build error. Maybe autoconf 2.61 is slightly buggy. [ruby-core:41316] Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 33857) +++ configure.in (revision 33858) @@ -2271,7 +2271,10 @@ [freebsd*|dragonfly*], [], [ if test "$GCC" = yes; then - RUBY_TRY_LDFLAGS([-Xlinker --no-undefined], RUBY_APPEND_OPTION(EXTLDFLAGS, [-Xlinker --no-undefined])) + RUBY_TRY_LDFLAGS([-Wl,--no-undefined], [no_undefined=yes], [no_undefined=no]) + if test "no_undefined" = yes; then + RUBY_APPEND_OPTION(EXTLDFLAGS, [-Wl,--no-undefined]) + fi fi ]) Index: ChangeLog =================================================================== --- ChangeLog (revision 33857) +++ ChangeLog (revision 33858) @@ -1,3 +1,8 @@ +Sun Nov 27 13:09:25 2011 KOSAKI Motohiro <kosaki.motohiro@g...> + + * configure.in: workaround to avoid MacOS X build error. + Maybe autoconf 2.61 is slightly buggy. [ruby-core:41316] + Sun Nov 27 04:57:11 2011 NARUSE, Yui <naruse@r...> * configure.in (--no-undefined): r33840 breaks FreeBSD and DragonFly -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/