From edf1e40bbbd31ec45f05a5a0f82e8b00e522f437 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 3 Mar 2021 15:49:02 +0100 Subject: [PATCH] build: Fix warning during autogen.sh The serial number is supposed to appear only once per file, at the top of it. Add a serial that matches the highest serial and remove the in-text serials. acinclude.m4:113: warning: the serial number must appear before any macro definition acinclude.m4:321: warning: the serial number must appear before any macro definition --- acinclude.m4 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 92ec3985..61db8a82 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1,3 +1,5 @@ +#serial 12 + # Checks the location of the XML Catalog # Usage: # JH_PATH_XML_CATALOG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) @@ -110,8 +112,6 @@ AC_DEFUN([JH_CHECK_XML_CATALOG], # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 4 - AC_DEFUN([AX_VALGRIND_CHECK],[ dnl Check for --enable-valgrind AC_MSG_CHECKING([whether to enable Valgrind on the unit tests]) @@ -318,8 +318,6 @@ MOSTLYCLEANFILES += $(valgrind_log_files) # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 11 - dnl ######################################################################### AC_DEFUN([AX_COMPARE_VERSION], [ AC_REQUIRE([AC_PROG_AWK])