diff --git a/postgresql-libpq-configure/configure b/postgresql-libpq-configure/configure index 2ca3096..8543ddb 100755 --- a/postgresql-libpq-configure/configure +++ b/postgresql-libpq-configure/configure @@ -3851,7 +3851,7 @@ do ac_path_PG_CONFIG="$as_dir$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_PG_CONFIG" || continue ac_cv_path_PG_CONFIG="";$ac_path_PG_CONFIG --includedir > /dev/null \ - && ac_cv_path_PG_CONFIG=$ac_path_PG_CONFIG ac_path_PG_CONFIG_found=: + && ac_cv_path_PG_CONFIG="$ac_path_PG_CONFIG" ac_path_PG_CONFIG_found=: $ac_path_PG_CONFIG_found && break 3 done done @@ -3867,7 +3867,7 @@ fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_PG_CONFIG" >&5 printf "%s\n" "$ac_cv_path_PG_CONFIG" >&6; } - PG_CONFIG=$ac_cv_path_PG_CONFIG + PG_CONFIG="$ac_cv_path_PG_CONFIG" if test "X$PG_CONFIG" = "X" then : break diff --git a/postgresql-libpq-configure/m4/ax_lib_postgresql.m4 b/postgresql-libpq-configure/m4/ax_lib_postgresql.m4 index ec267f0..4ba63fb 100644 --- a/postgresql-libpq-configure/m4/ax_lib_postgresql.m4 +++ b/postgresql-libpq-configure/m4/ax_lib_postgresql.m4 @@ -59,9 +59,9 @@ AC_DEFUN([_AX_LIB_POSTGRESQL_OLD],[ AC_CACHE_CHECK([for the pg_config program], [ac_cv_path_PG_CONFIG], [AC_PATH_PROGS_FEATURE_CHECK([PG_CONFIG], [pg_config], [[ac_cv_path_PG_CONFIG="";$ac_path_PG_CONFIG --includedir > /dev/null \ - && ac_cv_path_PG_CONFIG=$ac_path_PG_CONFIG ac_path_PG_CONFIG_found=:]], + && ac_cv_path_PG_CONFIG="$ac_path_PG_CONFIG" ac_path_PG_CONFIG_found=:]], [ac_cv_path_PG_CONFIG=""])]) - PG_CONFIG=$ac_cv_path_PG_CONFIG + PG_CONFIG="$ac_cv_path_PG_CONFIG" AS_IF([test "X$PG_CONFIG" = "X"],[break]) AC_CACHE_CHECK([for the PostgreSQL libraries CPPFLAGS],[ac_cv_POSTGRESQL_CPPFLAGS],