]> arthur.barton.de Git - ngircd-alex.git/blobdiff - configure.ng
2023!
[ngircd-alex.git] / configure.ng
index 367c2f0cc59a9c386d11c2fab3f5239a30aba22f..b8bcd24d13bad32c47ecb97ce54450e4f49d1e83 100644 (file)
@@ -29,7 +29,7 @@ AC_CONFIG_SRCDIR([src/ngircd/ngircd.c])
 AC_CONFIG_HEADER([src/config.h])
 AC_CANONICAL_HOST
 
-AM_INIT_AUTOMAKE([-Wall 1.10 ]ng_color_tests)
+AM_INIT_AUTOMAKE([-Wall 1.10 foreign ]ng_color_tests)
 
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
@@ -101,6 +101,7 @@ AC_DEFUN([WORKING_GETADDRINFO],[
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netdb.h>
+#include <string.h>
 int
 main(int argc, char **argv)
 {
@@ -265,6 +266,7 @@ AC_CHECK_FUNCS_ONCE([
        strlcat \
        strlcpy \
        strndup \
+       strsignal \
        strtok_r \
        unsetenv \
        vsnprintf \
@@ -505,6 +507,8 @@ if test "$x_ssl_openssl" = "yes"; then
        x_ssl_lib=openssl
 fi
 
+AM_CONDITIONAL(HAVE_SSL, [test $x_ssl_lib != "no"])
+
 # use TCP wrappers?
 
 x_tcpwrap_on=no
@@ -706,7 +710,6 @@ AC_CONFIG_FILES([ \
        Makefile \
        contrib/Debian/Makefile \
        contrib/MacOSX/Makefile \
-       contrib/MacOSX/ngIRCd.pmdoc/Makefile \
        contrib/MacOSX/ngIRCd.xcodeproj/Makefile \
        contrib/Makefile \
        doc/Makefile \