$as_echo "$rubyexists" >&6; }
if test ! "$rubyexists" = "yes"; then
- as_fn_error $? "
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
Could not link test program to Ruby. Maybe the main Ruby library has been
installed in some non-standard library path. If so, pass it to configure,
via the LDFLAGS environment variable.
You probably have to install the development version of the Ruby package
for your distribution. The exact name of this package varies among them.
============================================================================
- " "$LINENO" 5
+ " >&5
+$as_echo "$as_me: WARNING:
+ Could not link test program to Ruby. Maybe the main Ruby library has been
+ installed in some non-standard library path. If so, pass it to configure,
+ via the LDFLAGS environment variable.
+ Example: ./configure LDFLAGS=\"-L/usr/non-standard-path/ruby/lib\"
+ ============================================================================
+ ERROR!
+ You probably have to install the development version of the Ruby package
+ for your distribution. The exact name of this package varies among them.
+ ============================================================================
+ " >&2;}
RUBY_VERSION=""
fi
ac_ext=c
# all done!
#
-
- if test ! -n "$RUBY_VERSION"; then
+ if test -n "$RUBY_VERSION"; then
ruby_cflags+="$RUBY_CFLAGS"
ruby_ldflags+="$RUBY_LDFLAGS"
ruby_ldflags+="$RUBY_EXTRA_LIBS"
AC_MSG_RESULT([$rubyexists])
if test ! "$rubyexists" = "yes"; then
- AC_MSG_ERROR([
+ AC_MSG_WARN([
Could not link test program to Ruby. Maybe the main Ruby library has been
installed in some non-standard library path. If so, pass it to configure,
via the LDFLAGS environment variable.