[ruby-core:41316] configure.in syntax error on r33838

1 view
Skip to first unread message

Ryan Davis

unread,
Nov 26, 2011, 7:11:11 PM11/26/11
to ruby...@ruby-lang.org
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 = 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: ` *' -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:

> # RUBY_APPEND_OPTION(EXTLDFLAGS, -Xlinker --no-undefined)
> case " ${EXTLDFLAGS-} " in
> *' -Xlinker --no-undefined '*
> { 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.

KOSAKI Motohiro

unread,
Nov 26, 2011, 11:33:07 PM11/26/11
to ruby...@ruby-lang.org
Hi,

Thank you for reporting.


2011/11/26 Ryan Davis <ryand...@zenspider.com>:

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.

Ryan Davis

unread,
Nov 27, 2011, 1:43:44 AM11/27/11
to ruby...@ruby-lang.org

On Nov 26, 2011, at 16:11 , Ryan Davis wrote:

> r33838 breaks on OSX 10.7 with Xcode 4.2:

> ...


> But I don't know autoconf at all, so I'm hesitant to try to hack on this.

Your fix looks good. Thanks.


Reply all
Reply to author
Forward
0 new messages