a bug in ./configure
englefly opened this issue · 1 comments
englefly commented
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";