projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prevent ChanUsers from being removed when user quits with register reason
[NeonServV5.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index b118cae671fd144c8e7ed399d738769bee2b9d58..4ba0fac9cdbd2f5580e610771b0f8582c89b3bd9 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1,11
+1,15
@@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.67])
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.67])
-AC_INIT([NeonServ], [5.
3
], [bugs@pk910.de], [neonserv], [http://neonserv.krypton-bouncer.de])
+AC_INIT([NeonServ], [5.
5
], [bugs@pk910.de], [neonserv], [http://neonserv.krypton-bouncer.de])
AC_PREFIX_DEFAULT([~/neonserv])
AC_PREFIX_DEFAULT([~/neonserv])
+AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE([foreign subdir-objects])
AM_INIT_AUTOMAKE([foreign subdir-objects])
+AM_SILENT_RULES([yes])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_HEADERS([config.h])
+LT_INIT([disable-static])
+
# Checks for programs.
AC_PROG_CC
AC_PROG_AWK
# Checks for programs.
AC_PROG_CC
AC_PROG_AWK
@@
-27,9
+31,9
@@
AC_SUBST([MYSQL_LIBS])
AC_ARG_WITH([winsock],
[AS_HELP_STRING([--with-winsock], [use winsock (WIN32 systems)])],
AC_ARG_WITH([winsock],
[AS_HELP_STRING([--with-winsock], [use winsock (WIN32 systems)])],
- [
WINSOCK
_LIBS='-lws2_32'],
- [
WINSOCK_LIBS='
'])
-AC_SUBST([
WINSOCK
_LIBS])
+ [
SYSTEM
_LIBS='-lws2_32'],
+ [
SYSTEM_LIBS='-ldl
'])
+AC_SUBST([
SYSTEM
_LIBS])
do_have_ssl="no";
AC_CHECK_LIB(ssl, SSL_read, [
do_have_ssl="no";
AC_CHECK_LIB(ssl, SSL_read, [
@@
-62,6
+66,13
@@
AC_ARG_ENABLE([threads],
],
[])
],
[])
+AC_ARG_ENABLE([memory-debug],
+ [AS_HELP_STRING([--enable-memory-debug], [run memory debugger])],
+ [
+ AC_DEFINE([ENABLE_MEMORY_DEBUG], 1, [Define if you enable memoryDebug.c])
+ ],
+ [])
+
AC_ARG_ENABLE([debug],
[AS_HELP_STRING([--enable-debug], [debug mode (compile using -O0 -Wall -Wshadow -Werror)])],
[CFLAGS='-g -O0 -Wall -Wshadow -Werror'],
AC_ARG_ENABLE([debug],
[AS_HELP_STRING([--enable-debug], [debug mode (compile using -O0 -Wall -Wshadow -Werror)])],
[CFLAGS='-g -O0 -Wall -Wshadow -Werror'],
@@
-78,5
+89,5
@@
AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h stdlib.h string.h sys/socket.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([gethostbyname memset select socket strchr strdup strstr])
AC_FUNC_MALLOC
AC_CHECK_FUNCS([gethostbyname memset select socket strchr strdup strstr])
-AC_CONFIG_FILES(
[Makefile]
)
+AC_CONFIG_FILES(
Makefile
)
AC_OUTPUT
\ No newline at end of file
AC_OUTPUT
\ No newline at end of file