From 3c27591e9da5e3f2cd469c021c9690c491ff0ca2 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 20 Mar 2016 02:11:06 -0500 Subject: [PATCH] configure: move mingw check down a bit --- configure.ac | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/configure.ac b/configure.ac index 2c3b0363..2c4953f3 100644 --- a/configure.ac +++ b/configure.ac @@ -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