ELM_WIN32_DEF="#undef"
ELM_WINCE_DEF="#undef"
have_windows="no"
+have_dlopen="no"
case "$host_os" in
mingw32ce* | cegcc*)
PKG_CHECK_MODULES([EVIL], [evil])
have_windows="yes"
dnl managed by evil
AC_DEFINE(HAVE_DLADDR)
+ have_dlopen="yes"
dlopen_libs=-ldl
requirement_elm="evil"
have_socket="no"
have_windows="yes"
dnl managed by evil
AC_DEFINE(HAVE_DLADDR)
+ have_dlopen="yes"
dlopen_libs=-ldl
requirement_elm="evil"
have_socket="no"
*solaris*)
ELM_UNIX_DEF="#define"
have_socket="yes"
+ have_dlopen="yes"
AC_CHECK_LIB([socket], [connect], [], [have_socket="no"])
;;
darwin*)
ELM_UNIX_DEF="#define"
have_socket="yes"
+ have_dlopen="yes"
AC_CHECK_HEADERS([crt_externs.h])
AC_DEFINE([environ], [(*_NSGetEnviron())], ["apple doesn't follow POSIX in this case."])
;;
AC_CHECK_FUNCS(dlopen, res=yes, res=no)
if test "x$res" = "xyes"; then
AC_CHECK_FUNCS(dladdr, AC_DEFINE(HAVE_DLADDR))
+ have_dlopen="yes"
else
AC_CHECK_LIB(dl, dlopen, res=yes, res=no)
if test "x$res" = "xyes"; then
AC_CHECK_LIB(dl, dladdr, AC_DEFINE(HAVE_DLADDR))
dlopen_libs=-ldl
- else
- AC_MSG_ERROR(Cannot find dlopen)
+ have_dlopen="yes"
fi
fi
have_socket="yes"
esac
AC_CHECK_FUNCS(strcasestr, AC_DEFINE(HAVE_STRCASESTR))
AM_CONDITIONAL([BUILD_RUN], [test "x$have_socket" = "xyes"])
+AM_CONDITIONAL([BUILD_MODULES], [test "x$have_dlopen" = "xyes"])
m4_ifdef([v_mic],
[
AC_DEFINE(HAVE_FORK)
])
fi
-AM_CONDITIONAL([BUILD_QUICKLAUNCH], [test "x$have_fork" = "xyes"])
+AM_CONDITIONAL([BUILD_QUICKLAUNCH], [test "x$have_fork" = "xyes" && "x$have_dlopen" = "xyes"])
AC_SUBST(dlopen_libs)
AC_SUBST(lt_enable_auto_import)
src/lib/Elementary.h
src/bin/Makefile
src/modules/Makefile
+src/modules/access_output/Makefile
src/modules/test_entry/Makefile
src/modules/test_map/Makefile
src/modules/ctxpopup_copypasteUI/Makefile