git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@10619
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
AC_SUBST(xine_libs)
AC_SUBST(xine_plugins)
+AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
+AC_SUBST(dlopen_libs)
+
AC_OUTPUT([
Makefile
src/Makefile
emotion_smart.c \
emotion_private.h
-libemotion_la_LIBADD = $(LDFLAGS) @my_libs@ -ldl
+libemotion_la_LIBADD = $(LDFLAGS) @my_libs@ @dlopen_libs@
libemotion_la_DEPENDENCIES = $(top_builddir)/config.h
libemotion_la_LDFLAGS = -version-info 0:1:0