]> jfr.im git - solanum.git/blobdiff - configure.ac
appveyor: push config.log on fail
[solanum.git] / configure.ac
index 2c3b0363b2a0f5f5294c3376fdce24bc8ccac97f..1de852d7be9c4d95c7eb7f5fe6b184da737b73cb 100644 (file)
@@ -20,6 +20,20 @@ AC_PREFIX_DEFAULT($HOME/ircd)
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_HEADER(include/setup.h)
 
+AC_CONFIG_SUBDIRS([librb])
+AC_CONFIG_AUX_DIR([libltdl/config])
+
+AM_INIT_AUTOMAKE([subdir-objects])
+AM_SILENT_RULES([yes])
+AM_PROG_AR
+
+LT_INIT([dlopen disable-static])
+LT_CONFIG_LTDL_DIR([libltdl])
+LTDL_INIT
+
+build_ltdl=$with_included_ltdl
+AM_CONDITIONAL([BUILD_LTDL], [test x"$build_ltdl" = x"yes"])
+
 case "$host_os" in
 *cygwin*)
      AC_DEFINE_UNQUOTED(CYGWIN,1,[This is a Cygwin system])
@@ -38,20 +52,6 @@ esac
 
 AM_CONDITIONAL([MINGW], [test "$is_mingw" = "yes"])
 
-AC_CONFIG_SUBDIRS([librb])
-AC_CONFIG_AUX_DIR([libltdl/config])
-
-AM_INIT_AUTOMAKE([subdir-objects])
-AM_SILENT_RULES([yes])
-AM_PROG_AR
-
-LT_INIT([dlopen disable-static])
-LT_CONFIG_LTDL_DIR([libltdl])
-LTDL_INIT
-
-build_ltdl=$with_included_ltdl
-AM_CONDITIONAL([BUILD_LTDL], [test x"$build_ltdl" = x"yes"])
-
 if test "$ac_cv_c_compiler_gnu" = yes; then
        IRC_CFLAGS="$IRC_CFLAGS -O0 -Wall"
 fi
@@ -167,12 +167,6 @@ if test x"$SUN" = xyes; then
        AC_SEARCH_LIBS(inet_ntoa, nsl,, [AC_MSG_ERROR([libnsl not found! Aborting.])])
 fi
 
-AC_CHECK_TYPE(socklen_t, ,
-[AC_DEFINE([socklen_t], [unsigned int],
-[If we don't have a real socklen_t, unsigned int is good enough.])],
-[#include <sys/types.h>
-#include <sys/socket.h>])
-
 AC_ARG_ENABLE(ipv6,
 AC_HELP_STRING([--enable-ipv6],[Enable IPv6 support]),[ipv6=$enableval],[ipv6=no])