diff --git a/configure b/configure index dc5e095..fb8fecf 100755 --- a/configure +++ b/configure @@ -13508,9 +13508,9 @@ $as_echo "found in /usr/include" >&6; } PGSQL_CFLAGS="-I/usr/include/postgresql" { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in /usr/include/postgresql" >&5 $as_echo "found in /usr/include/postgresql" >&6; } - elif test -r /usr/local/include/libpq-fe.h; then - PGSQL_CFLAGS="-I/usr/local/include" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in /usr/local/include" >&5 + elif test -r /usr/include/pgsql/libpq-fe.h; then + PGSQL_CFLAGS="-I/usr/include/pgsql" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in /usr/include/pgsql" >&5 $as_echo "found in /usr/local/include" >&6; } elif test -r /usr/local/pgsql/include/libpq-fe.h; then PGSQL_CFLAGS="-I/usr/local/pgsql/include"