AC_MSG_ERROR(Ruby site extension path not found)
fi
+ AC_MSG_CHECKING(for Ruby shared library)
+ RUBYLIB=`($rubybin -rmkmf -e 'print Config::CONFIG[["LIBRUBYARG_SHARED"]]') 2> /dev/null`
+ AC_MSG_RESULT([$RUBYLIB])
+
+ AC_SUBST(RUBYLIB)
AC_SUBST(RUBYLIBDIR)
AC_SUBST(RUBYDIR)
AC_SUBST(RUBYSITEDIR)
-## $Id: Makefile.am 73 2004-08-16 18:11:52Z tilman $
+## $Id: Makefile.am 118 2004-10-18 20:16:11Z tilman $
AM_CFLAGS = $(EVAS_CFLAGS)
INCLUDES = -I$(RUBYDIR)
rb_text.c rb_text.h \
rb_smart.c rb_smart.h
-evas_la_LIBADD = -L$(RUBYLIBDIR) -lruby $(EVAS_LIBS)
+evas_la_LIBADD = -L$(RUBYLIBDIR) $(RUBYLIB) $(EVAS_LIBS)
evas_la_LDFLAGS = -module -avoid-version
pkgincludedir = $(RUBYSITEDIR)/evas