# -- Initialisation --
AC_PREREQ(2.50)
-AC_INIT(ngircd, 14~rc1)
+AC_INIT(ngircd, 14.1)
AC_CONFIG_SRCDIR(src/ngircd/ngircd.c)
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE(1.6)
AM_CONFIG_HEADER(src/config.h)
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
# -- Templates for config.h --
AH_TEMPLATE([DEBUG], [Define if debug-mode should be enabled])
AC_ARG_WITH(openssl,
[ --with-openssl enable SSL support using OpenSSL],
- [ if test "$withval" = "yes"; then
+ [ if test "$withval" != "no"; then
if test "$withval" != "yes"; then
CFLAGS="-I$withval/include $CFLAGS"
CPPFLAGS="-I$withval/include $CPPFLAGS"
AC_ARG_WITH(gnutls,
[ --with-gnutls enable SSL support using gnutls],
- [ if test "$withval" = "yes"; then
+ [ if test "$withval" != "no"; then
if test "$withval" != "yes"; then
CFLAGS="-I$withval/include $CFLAGS"
CPPFLAGS="-I$withval/include $CPPFLAGS"