Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e Modified Files: configure.in Log Message: Loadable module support bits. =================================================================== RCS file: /cvs/e/e16/e/configure.in,v retrieving revision 1.225 retrieving revision 1.226 diff -u -3 -r1.225 -r1.226 --- configure.in 23 Aug 2007 18:48:20 -0000 1.225 +++ configure.in 28 Aug 2007 18:52:45 -0000 1.226 @@ -281,8 +281,20 @@ fi AM_CONDITIONAL(BUILD_ROOTHACKLIB, test "x$enable_roothacklib" = "xyes") +AC_ARG_ENABLE(modules, + [ --enable-modules enable support for loadable modules @<:@default=no@:>@],, + enable_modules=no) +if test "x$enable_modules" = "xyes"; then + AC_CHECK_LIB(dl, dlopen, DLOPEN_LIBS=-ldl, enable_modules=no) + AC_SUBST(DLOPEN_LIBS) +fi +if test "x$enable_modules" = "xyes"; then + AC_DEFINE(USE_MODULES, 1, [Loadable module support]) +fi +AM_CONDITIONAL(BUILD_MODULES, test "x$enable_modules" = "xyes") + AC_ARG_ENABLE(gcc-cpp, - [ --enable-gcc-cpp compile everything as if it were C++ @<:@default=no@:>@],, + [ --enable-gcc-cpp compile everything as if it were C++ @<:@default=no@:>@],, enable_gcc_cpp=no) if test "x$enable_gcc_cpp" = "xyes"; then CC="g++" @@ -350,6 +362,7 @@ echo " Window mode helper library ... $enable_roothacklib" echo echo "Experimental options - DO NOT USE unless you know what you are doing" +echo " Loadable module support ...... $enable_modules" echo " Compile with ecore/ecore_x ... $enable_ecore" echo " GLX .......................... $enable_glx" echo " ScreenSaver .................. $enable_xscrnsaver" ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs