From de22fd43dbae114b05f931cae5e066a794d997fb Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Tue, 23 Feb 2010 19:16:56 -0800 Subject: [PATCH] small bugfix in ruby shared library test --- m4/ruby.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/ruby.m4 b/m4/ruby.m4 index cbb7320..fd200c6 100644 --- a/m4/ruby.m4 +++ b/m4/ruby.m4 @@ -66,8 +66,8 @@ int Init_foobar() } int main() {return 0;} EOF - ac_link='$CC $SHARED $CPPFLAGS $RUBY_CPPFLAGS $CFLAGS conftest.c $LDFLAGS $RUBY_LDFLAGS $LIBS $RUBY_LIBS -o conftest${ac_exeext}' - if { (eval echo ruby.m4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_link='$CC $SHARED $CPPFLAGS $RUBY_CPPFLAGS $CFLAGS conftest.c $LDFLAGS $RUBY_LDFLAGS $LIBS $RUBY_LIBS -o conftest${SLEXT}' + if { (eval echo ruby.m4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${SLEXT}; then RUBY_OK=yes else echo "configure: failed program was:" >&5 -- 1.7.10.4