Hi,

Thank you for reporting.


2011/11/26 Ryan Davis <ryand-ruby / zenspider.com>:
> r33838 breaks on OSX 10.7 with Xcode 4.2:
>
>> % svn up -r33837 configure.in ; make reconfig
>> ...
>> checking for nroff... /usr/bin/nroff
>> .ext/include/x86_64-darwin11.2.0/ruby/config.h unchanged
>> ruby library version =3D 1.9.1
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating ruby-1.9.pc
>>
>> % svn up -r33838 configure.in ; make reconfig
>> ...
>> checking for strip... strip
>> ./configure: line 39682: syntax error near unexpected token `newline'
>> ./configure: line 39682: ` =A0*' -Xlinker --no-undefined '*'
>> make: *** [config.status] Error 2
>>
>> % autoconf -V
>> autoconf (GNU Autoconf) 2.61
>> ...
>
> It looks like it is generating a syntax error in the case statement:
>
>> =A0 # RUBY_APPEND_OPTION(EXTLDFLAGS, -Xlinker --no-undefined)
>> =A0 =A0 =A0 case " ${EXTLDFLAGS-} " in
>> =A0 *' -Xlinker --no-undefined '*
>> =A0 =A0 =A0 { echo "$as_me:$LINENO: result: yes" >&5
>> echo "${ECHO_T}yes" >&6; }
>
> But I don't know autoconf at all, so I'm hesitant to try to hack on this.

Hmm.. autoconf 2.61 seems slightly buggy.
I commited a workaround as r33858. It works good on my Lion environment.
Can you please try it?

Thanks.