/[weechat]/weechat/configure.in
ViewVC logotype

Diff of /weechat/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.70 by flashcode, Sun Oct 16 17:20:46 2005 UTC revision 1.71 by flashcode, Mon Oct 17 10:36:09 2005 UTC
# Line 254  if test "x$enable_ruby" = "xyes" ; then Line 254  if test "x$enable_ruby" = "xyes" ; then
254  fi  fi
255    
256  if test "x$enable_plugins" = "xyes" ; then  if test "x$enable_plugins" = "xyes" ; then
257        PLUGINS_LIBS="../../plugins/lib_weechat_plugins.a"
258      AC_CHECK_FUNCS(dlopen, LIBDL_FOUND=yes, LIBDL_FOUND=no)      AC_CHECK_FUNCS(dlopen, LIBDL_FOUND=yes, LIBDL_FOUND=no)
259      if test "$LIBDL_FOUND" != "yes"; then      if test "$LIBDL_FOUND" != "yes"; then
260          AC_CHECK_LIB(dl, dlopen, LIBDL_FOUND=yes, LIBDL_FOUND=no)          AC_CHECK_LIB(dl, dlopen, LIBDL_FOUND=yes, LIBDL_FOUND=no)
261      fi          if test "$LIBDL_FOUND" = "yes"; then
262      if test "$LIBDL_FOUND" = "yes"; then              PLUGINS_LIBS="$PLUGINS_LIBS -ldl"
263          PLUGINS_LIBS="../../plugins/lib_weechat_plugins.a -ldl"          else
264          AC_DEFINE(PLUGINS)              AC_MSG_ERROR([
     else  
         AC_MSG_ERROR([  
265  *** "dl" library (dynamic library loader) couldn't be found in your system.  *** "dl" library (dynamic library loader) couldn't be found in your system.
266  *** Try to install it with your software package manager or disable plugins.])  *** Try to install it with your software package manager or disable plugins.])
267            fi
268      fi      fi
269        AC_DEFINE(PLUGINS)
270  fi  fi
271    
272  AC_SUBST(PLUGINS_LIBS)  AC_SUBST(PLUGINS_LIBS)

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.71

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26