projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** VERSION 5.3.0 ***
[NeonServV5.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 109c5d990a20b3f95ae8e4ce6d0310240f70993e..27747ca10b933858b1428ef83c3f20f20e623617 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1,7
+1,7
@@
# 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.
2
], [bugs@pk910.de], [neonserv], [http://neonserv.krypton-bouncer.de])
+AC_INIT([NeonServ], [5.
3
], [bugs@pk910.de], [neonserv], [http://neonserv.krypton-bouncer.de])
AC_PREFIX_DEFAULT([~/neonserv])
AM_INIT_AUTOMAKE([foreign subdir-objects])
AC_CONFIG_HEADERS([config.h])
AC_PREFIX_DEFAULT([~/neonserv])
AM_INIT_AUTOMAKE([foreign subdir-objects])
AC_CONFIG_HEADERS([config.h])
@@
-45,6
+45,11
@@
if test x"$do_have_ssl" = xyes; then
AC_DEFINE([HAVE_SSL], 1, [Define if you are using SSL])
fi
AC_DEFINE([HAVE_SSL], 1, [Define if you are using SSL])
fi
+AC_ARG_ENABLE([debug],
+ [AS_HELP_STRING([--enable-debug], [debug mode (compile using -O0 -Wall -Wshadow -Werror)])],
+ [CFLAGS='-g -O0 -Wall -Wshadow -Werror'],
+ [CFLAGS='-g -O2'])
+
# Checks for header files.
AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h windows.h winsock2.h])
# Checks for header files.
AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h windows.h winsock2.h])