X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=configure.ac;h=0a6c9d97fed62c693d182de37660b2d8bed28938;hp=17de99d6d3d884f542f767547a524ce4de7c6e35;hb=HEAD;hpb=7289d420ddc81d9975ed6d55dfdfd70dff2b2d48 diff --git a/configure.ac b/configure.ac index 17de99d..0a6c9d9 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ # Process this file with autoconf to produce a configure script. -AC_PREREQ([2.67]) +AC_PREREQ([2.63]) AC_INIT([NeonServ], [5.6], [bugs@pk910.de], [neonserv], [http://neonserv.krypton-bouncer.de]) AC_PREFIX_DEFAULT([~/neonserv]) AC_CANONICAL_TARGET @@ -68,6 +68,13 @@ AC_ARG_ENABLE([memory-debug], ], []) +AC_ARG_ENABLE([mutex-debug], + [AS_HELP_STRING([--enable-mutex-debug], [run mutex debugger])], + [ + AC_DEFINE([ENABLE_MUTEX_DEBUG], 1, [Define if you enable mutexDebug.c]) + ], + []) + AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug], [debug mode (compile using -O0 -Wall -Wshadow -Werror)])], [CFLAGS='-g -O0 -Wall -Wshadow -Werror'], @@ -76,7 +83,7 @@ AC_ARG_ENABLE([debug], CFLAGS="$CFLAGS -D_GNU_SOURCE" # Checks for header files. -AC_CHECK_HEADERS([stdio.h stdlib.h string.h ctype.h windows.h winsock2.h malloc.h features.h sys/types.h sys/socket.h netinet/in.h netinet/tcp.h arpa/inet.h netdb.h sys/wait.h errno.h unistd.h getopt.h stdarg.h sys/time.h time.h signal.h sys/epoll.h sys/event.h ws2tcpip.h mysql.h mysql/errmsg.h]) +AC_CHECK_HEADERS([stdio.h stdlib.h string.h ctype.h windows.h winsock2.h malloc.h features.h sys/types.h sys/socket.h netinet/in.h netinet/tcp.h arpa/inet.h netdb.h sys/wait.h errno.h unistd.h getopt.h stdarg.h sys/time.h time.h signal.h sys/epoll.h sys/event.h ws2tcpip.h mysql.h mysql/errmsg.h errmsg.h]) # Checks for typedefs, structures, and compiler characteristics.