]> arthur.barton.de Git - ngircd-alex.git/blobdiff - configure.in
Mac OS X: fix test for packagemaker(1) tool in Makefile
[ngircd-alex.git] / configure.in
index be03945d004d91eee075310c9173b61f684cec68..1940834b0f0977a40776001d18c905a2f08ba5dd 100644 (file)
 # -- Initialisation --
 
 AC_PREREQ(2.50)
-AC_INIT(ngircd, 13)
+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])
@@ -313,7 +315,7 @@ fi
 
 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"
@@ -330,7 +332,7 @@ AC_ARG_WITH(openssl,
 
 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"