]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dovecot.m4: Call DC_DOVECOT_CFLAGS and HARDENING earlier
authorAki Tuomi <aki.tuomi@dovecot.fi>
Sat, 24 Nov 2018 17:59:04 +0000 (19:59 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Wed, 6 Feb 2019 08:09:09 +0000 (10:09 +0200)
Before SUBST

m4/dovecot.m4

index 17ea26309b7e5aac261bff848242e7dacc354482..e18d584be193afc368b88fc6a8ccf6fda8fab6ec 100644 (file)
@@ -372,6 +372,9 @@ AC_DEFUN([DC_DOVECOT],[
                dovecot_statedir='$(statedir)'
        fi
 
+       DC_DOVECOT_CFLAGS
+       DC_DOVECOT_HARDENING
+
        AX_SUBST_L([DISTCHECK_CONFIGURE_FLAGS], [dovecotdir], [dovecot_moduledir], [dovecot_installed_moduledir], [dovecot_pkgincludedir], [dovecot_pkglibexecdir], [dovecot_pkglibdir], [dovecot_docdir], [dovecot_statedir])
        AX_SUBST_L([DOVECOT_INSTALLED], [DOVECOT_CFLAGS], [DOVECOT_LIBS], [DOVECOT_SSL_LIBS], [DOVECOT_SQL_LIBS], [DOVECOT_COMPRESS_LIBS], [DOVECOT_BINARY_CFLAGS], [DOVECOT_BINARY_LDFLAGS])
        AX_SUBST_L([LIBDOVECOT], [LIBDOVECOT_LOGIN], [LIBDOVECOT_SQL], [LIBDOVECOT_SSL], [LIBDOVECOT_COMPRESS], [LIBDOVECOT_LDA], [LIBDOVECOT_STORAGE], [LIBDOVECOT_DSYNC], [LIBDOVECOT_LIBFTS])
@@ -382,7 +385,6 @@ AC_DEFUN([DC_DOVECOT],[
 
        AM_CONDITIONAL(DOVECOT_INSTALLED, test "$DOVECOT_INSTALLED" = "yes")
 
-       DC_DOVECOT_HARDERNING
        DC_PLUGIN_DEPS
        DC_DOVECOT_TEST_WRAPPER
 ])