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 109 2004-09-01 20:33:15Z tilman $
+## $Id: Makefile.am 120 2004-10-18 20:23:32Z tilman $
AM_CFLAGS = $(ECORE_CFLAGS)
INCLUDES = -I$(RUBYDIR)
rb_event_handler.c rb_event_handler.h \
rb_fd_handler.c rb_fd_handler.h
-ecore_la_LIBADD = -L$(RUBYLIBDIR) -lruby $(ECORE_LIBS)
+ecore_la_LIBADD = -L$(RUBYLIBDIR) $(RUBYLIB) $(ECORE_LIBS)
ecore_la_LDFLAGS = -module -avoid-version
-## $Id: Makefile.am 72 2004-08-16 18:10:27Z tilman $
+## $Id: Makefile.am 120 2004-10-18 20:23:32Z tilman $
AM_CFLAGS = $(ECORE_CFLAGS) $(EVAS_CFLAGS)
INCLUDES = -I$(RUBYDIR) -I$(RUBYSITEDIR)
rb_gl_x11.c rb_gl_x11.h \
rb_fb.c rb_fb.h
-ecore_evas_la_LIBADD = -L$(RUBYLIBDIR) -lruby $(ECORE_LIBS) $(EVAS_LIBS)
+ecore_evas_la_LIBADD = -L$(RUBYLIBDIR) $(RUBYLIB) $(ECORE_LIBS) $(EVAS_LIBS)
ecore_evas_la_LDFLAGS = -module -avoid-version
pkgincludedir = $(RUBYSITEDIR)/ecore
-## $Id: Makefile.am 72 2004-08-16 18:10:27Z tilman $
+## $Id: Makefile.am 120 2004-10-18 20:23:32Z tilman $
AM_CFLAGS = $(ECORE_CFLAGS)
INCLUDES = -I$(RUBYDIR)
ecore_job_la_SOURCES = rb_ecore_job.c rb_ecore_job.h \
rb_job.c rb_job.h
-ecore_job_la_LIBADD = -L$(RUBYLIBDIR) -lruby $(ECORE_LIBS)
+ecore_job_la_LIBADD = -L$(RUBYLIBDIR) $(RUBYLIB) $(ECORE_LIBS)
ecore_job_la_LDFLAGS = -module -avoid-version
-## $Id: Makefile.am 98 2004-08-26 13:12:55Z tilman $
+## $Id: Makefile.am 120 2004-10-18 20:23:32Z tilman $
AM_CFLAGS = $(ECORE_CFLAGS)
INCLUDES = -I$(RUBYDIR) -I$(RUBYSITEDIR)
rb_window.c rb_window.h \
rb_cursor.c rb_cursor.h
-ecore_x_la_LIBADD = -L$(RUBYLIBDIR) -lruby $(ECORE_LIBS)
+ecore_x_la_LIBADD = -L$(RUBYLIBDIR) $(RUBYLIB) $(ECORE_LIBS)
ecore_x_la_LDFLAGS = -module -avoid-version
pkgincludedir = $(RUBYSITEDIR)/ecore