diff --git a/configure b/configure index e4b82d1..1a8678f 100755 --- a/configure +++ b/configure @@ -62424,7 +62424,7 @@ printf %s "checking for pg_config... " >&6; } fi done - if test -n "$PG_CONFIG"; then + if test -n "$PG_CONFIG" && test "x$cross_compiling" != "xyes"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5 printf "%s\n" "$PG_CONFIG" >&6; } PGSQL_INCLUDE=`$PG_CONFIG --includedir` @@ -63948,7 +63948,7 @@ printf %s "checking for pg_config... " >&6; } fi done - if test -n "$PG_CONFIG"; then + if test -n "$PG_CONFIG" && test "x$cross_compiling" != "xyes"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5 printf "%s\n" "$PG_CONFIG" >&6; } PGSQL_INCLUDE=`$PG_CONFIG --includedir`