1From 7bf2fc388df10bc1760cd06594f50da0c78ee3a2 Mon Sep 17 00:00:00 2001 2From: fidomax <adobegitler@gmail.com> 3Date: Tue, 26 Jan 2021 07:33:17 +0300 4Subject: [PATCH] Add HAVE_VASPRINTF HAVE_ASPRINTF templates 5 6It fixes autoreconf error: 7autoheader: warning: missing template: HAVE_ASPRINTF 8autoheader: Use AC_DEFINE([HAVE_ASPRINTF], [], [Description]) 9autoheader: warning: missing template: HAVE_VASPRINTF 10 11Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru> 12Fetch from: https://github.com/postgis/postgis/commit/d0ac5df49961d1d1a74b894f9941b973c0695c11.patch 13--- 14 configure.ac | 2 ++ 15 1 file changed, 2 insertions(+) 16 17diff --git a/configure.ac b/configure.ac 18index 9ac7051bb..dddb3aef7 100644 19--- a/configure.ac 20+++ b/configure.ac 21@@ -11,6 +11,8 @@ dnl ********************************************************************** 22 23 AC_INIT() 24 AC_CONFIG_HEADERS([postgis_config.h]) 25+AH_TEMPLATE([HAVE_VASPRINTF]) 26+AH_TEMPLATE([HAVE_ASPRINTF]) 27 AC_CONFIG_MACRO_DIR([macros]) 28 AC_CONFIG_AUX_DIR([build-aux]) 29 AC_PROG_INSTALL 30-- 312.30.0 32 33