anse1/sqlsmith

a bug in ./configure

englefly opened this issue · 1 comments

there is a test code for pg in configure
`
/* end confdefs.h. */

#include <libpq-fe.h>

int main ()

{

	   char conninfo="dbname = postgres";
	    PGconn     *conn;
	    conn = PQconnectdb(conninfo);
                return 0;

}
`

this compile failed, but reported as "configure: error: could not find libpq-fe.h header"
need this fix:
char conninfo="dbname = postgres"; >>> const char* conninfo="dbname = postgres";

anse1 commented

You are using a buggy version of autoconf-archive for generating your configure file.
Building from a release tarball without invoking autoconf or using the latest version of autoconf-archive should fix this issue. See also a previous issue about this: #15