1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 22:45:43 +02:00

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
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-10-01 21:07:44 +00:00
parent e4b0e4f396
commit dc8565e08f
5 changed files with 22 additions and 73 deletions
Vendored
+3 -22
View File
@@ -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
+1 -9
View File
@@ -147,21 +147,14 @@ AC_SUBST(LDFLAGS)
AC_CHECK_HEADER(sys/types.h,AC_DEFINE(HAS_SYS_TYPES_H,1,"Has sys/types.h"))
DIS_MODULES="Modules: Yes"
dnl module checking based on Unreal's module checking code
AC_DEFUN(AC_ENABLE_DYN,
[
AC_CHECK_FUNC(dlopen,, AC_CHECK_LIB(dl,dlopen,[
ANOPELIBS="$ANOPELIBS -ldl"
AC_DEFINE(USE_MODULES,1,"Modules are available")
USE_MODULES="yes"
DIS_MODULES="Modules: Yes"
],
[
AC_MSG_WARN(Dynamic linking is not enabled because dlopen was not found)
AC_DEFINE(STATIC_LINKING,"NO_MODULES","modules not available")
DIS_MODULES="Modules: No"
AC_ERROR("dlopen() is required for Anope to be compiled and used. Sorry.")
]))
hold_cflags=$CFLAGS
@@ -230,7 +223,6 @@ fi
MODULEFLAGS=$ac_cv_pic
AC_SUBST(MODULEFLAGS)
AC_DEFINE(USE_MODULES,1,"Modules available")
])
AC_ENABLE_DYN
-3
View File
@@ -138,9 +138,6 @@
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* "Modules available" */
#undef USE_MODULES
/* "Use Mysql" */
#undef USE_MYSQL
+1 -1
View File
@@ -4,7 +4,7 @@ MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'ANOPELIBS=${ANOPELIBS}' \
'LDFLAGS=${LDFLAGS}' 'BINDEST=${BINDEST}' 'INSTALL=${INSTALL}' \
'INCLUDEDIR=${INCLUDEDIR}' 'RM=${RM}' 'CP=${CP}' \
'TOUCH=${TOUCH}' 'SHELL=${SHELL}' 'DATDEST=${DATDEST}' \
'RUNGROUP=${RUNGROUP}' 'USE_MODULES=${USE_MODULES}'
'RUNGROUP=${RUNGROUP}'
LANGOBJS = cat de en_us es fr gr hun it nl pl pt ru tr
LANGSRCS = cat.l de.l en_us.l es.l fr.l gr.l hun.l it.l nl.l pl.l pt.l ru.l tr.l
+17 -38
View File
File diff suppressed because it is too large Load Diff