From: "Marcin Kulisz (kuLa)" <debian@kulisz.net>
Date: Sun, 15 Jan 2017 14:11:06 +0000
Subject: Fixing configure.ac to work with stricter sed implementation

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 604e75c..fc6dba9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -468,7 +468,7 @@ occurring in the file.
 ])], -L${with_postgres_lib})
 
 # Remove redundant occurrances of -lpq
-LIBS="`echo "$LIBS" | sed -e 's/-lpq[[:space:]]*[[:space:]]-lpq\>/-lpq/g'`"
+LIBS="`echo "$LIBS" | sed -e 's/-lpq\[\[:space:\]\]*\[\[:space:\]\]-lpq\>/-lpq/g'`"
 
 AC_LANG_POP(C)
 
