From dc8565e08f938ef7bef753fabded1ee40d852c08 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Wed, 1 Oct 2008 21:07:44 +0000 Subject: Remove USE_MODULES, it'd not really work anyway. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1292 5417fbe8-f217-4b02-8779-1006273d7864 --- configure | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 5fbf7cafe..77ffd2b01 100755 --- a/configure +++ b/configure @@ -4191,8 +4191,6 @@ fi -DIS_MODULES="Modules: Yes" - @@ -4345,23 +4343,11 @@ if test $ac_cv_lib_dl_dlopen = yes; then ANOPELIBS="$ANOPELIBS -ldl" -cat >>confdefs.h <<\_ACEOF -#define USE_MODULES 1 -_ACEOF - - USE_MODULES="yes" - DIS_MODULES="Modules: Yes" - else -{ echo "$as_me:$LINENO: WARNING: Dynamic linking is not enabled because dlopen was not found" >&5 -echo "$as_me: WARNING: Dynamic linking is not enabled because dlopen was not found" >&2;} - -cat >>confdefs.h <<\_ACEOF -#define STATIC_LINKING "NO_MODULES" -_ACEOF - - DIS_MODULES="Modules: No" + { { echo "$as_me:$LINENO: error: \"dlopen() is required for Anope to be compiled and used. Sorry.\"" >&5 +echo "$as_me: error: \"dlopen() is required for Anope to be compiled and used. Sorry.\"" >&2;} + { (exit 1); exit 1; }; } fi @@ -4509,11 +4495,6 @@ fi MODULEFLAGS=$ac_cv_pic -cat >>confdefs.h <<\_ACEOF -#define USE_MODULES 1 -_ACEOF - - { echo "$as_me:$LINENO: checking for short" >&5 echo $ECHO_N "checking for short... $ECHO_C" >&6; } if test "${ac_cv_type_short+set}" = set; then -- cgit