1From 97d0cb4f4a6f3bec50729e3f896d4a84b796c5c6 Mon Sep 17 00:00:00 2001 2From: fidomax <adobegitler@gmail.com> 3Date: Tue, 26 Jan 2021 09:17:17 +0300 4Subject: [PATCH] Add POSTGIS_DEBUG_LEVEL define to configure.ac 5 6In case of using autoreconf "#define POSTGIS_DEBUG_LEVEL 0" is removed from postgis_config.h.in so build failed with undefined POSTGIS_DEBUG_LEVEL. 7 8Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru> 9Fetch from: https://github.com/postgis/postgis/commit/2b2c2cb159cfcaacb75a4e74f17bd2834d61acd0.patch 10--- 11 configure.ac | 2 ++ 12 1 file changed, 2 insertions(+) 13 14diff --git a/configure.ac b/configure.ac 15index dddb3aef7..86e1597ee 100644 16--- a/configure.ac 17+++ b/configure.ac 18@@ -1131,6 +1131,8 @@ else 19 CPPFLAGS="-DNDEBUG $CPPFLAGS" 20 fi 21 22+AC_DEFINE([POSTGIS_DEBUG_LEVEL], [0], [Define debug level. Default 0]) 23+ 24 dnl =========================================================================== 25 dnl Allow the developer to disable the automatic updates of postgis_revision.h 26 dnl with --without-phony-revision 27-- 282.30.0 29 30