Package: autoconf-archive Version: 20170928-2 Hi,
autoconf-archive appears to yield a broken configure script for the AX_LIB_POSTGRESQL macro. Symptoms: ,----[ ./configure ] | checking for libpq-fe.h... yes | checking for the PostgreSQL library linking is working... configure: error: in `/home/andreas/sqlsmith': | configure: error: could not find libpq-fe.h header `---- This is due to bad testcode: ,----[ config.log ] | conftest.cpp:30:21: error: invalid conversion from 'const char*' to 'char' [-fpermissive] | char conninfo="dbname = postgres"; | ^~~~~~~~~~~~~~~~~~~ `---- The reason seems to be insufficent quoting in the autoconf-archive macro definition for AX_LIB_POSTGRESQL: ,----[ aclocal.m4 ] | char conninfo[]="dbname = postgres"; `---- I got a working configure script after adding addtiional quoting like this: sudo sed -i 's/conninfo\[]/conninfo\[\[]]/' /usr/share/aclocal/ax_lib_postgresql.m4 autoreconf -i regards, Andreas