From: fanquake Date: Fri, 3 Jul 2020 08:02:09 +0000 (+0800) Subject: build: move automake options into AM_INIT_AUTOMAKE call X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28e3105072cc9b327d31fcb08f8b16f886ce6ac9;p=libevent build: move automake options into AM_INIT_AUTOMAKE call --- diff --git a/Makefile.am b/Makefile.am index 962c14ca..b66b42c2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,10 +4,6 @@ # # See LICENSE for copying information. -# 'foreign' means that we're not enforcing GNU package rules strictly. -# '1.13' means that we need automake 1.13 or later (and we do). -AUTOMAKE_OPTIONS = foreign 1.13 subdir-objects - ACLOCAL_AMFLAGS = -I m4 # This is the "Release" of the Libevent ABI. It takes precedence over diff --git a/configure.ac b/configure.ac index 9e62bc04..811ab9ee 100644 --- a/configure.ac +++ b/configure.ac @@ -11,9 +11,14 @@ AC_CONFIG_SRCDIR(event.c) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([build-aux]) -AM_INIT_AUTOMAKE -dnl AM_SILENT_RULES req. automake 1.11. [no] defaults V=1 + +dnl Automake setup +dnl 'foreign' means that GNU package rules are not strictly enforced. +AM_INIT_AUTOMAKE([1.13 foreign subdir-objects]) + +dnl make compilation quiet unless V=1 is used AM_SILENT_RULES([yes]) + AC_CONFIG_HEADERS(config.h evconfig-private.h:evconfig-private.h.in) AC_DEFINE(NUMERIC_VERSION, 0x02020001, [Numeric representation of the version])