Skip to content

Commit 3b0033e

Browse files
committed
fix autogen macro for detection pg client lib
1 parent 203e70b commit 3b0033e

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,8 +707,6 @@ If you want to use `pspg` as Postgres client, then you need run
707707
I had to install `openssl-devel` package and I had to set
708708
`export PKG_CONFIG_PATH="/usr/local/pgsql/master/lib/pkgconfig/"`.
709709

710-
Note: the compilation based on usage of `pg_config` is broken.
711-
712710
On FreeBsd you should to use `gmake` instead `make`.
713711

714712
## Note - Installation details

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6672,7 +6672,7 @@ else
66726672
fi ;;
66736673
esac
66746674
fi
6675-
if test "X$found_postgresql" = "no"
6675+
if test "X$found_postgresql" = "Xno"
66766676
then :
66776677
break
66786678
fi

tools/m4_ax_lib_postgresql.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ AC_DEFUN([_AX_LIB_POSTGRESQL_PKG_CONFIG],
117117
[PKG_CHECK_EXISTS([libpq],[found_postgresql_pkg_config=yes],[found_postgresql=no])],
118118
[PKG_CHECK_EXISTS([libpq >= "$postgresql_version_req"],
119119
[found_postgresql=yes],[found_postgresql=no])])
120-
AS_IF([test "X$found_postgresql" = "no"],[break])
120+
AS_IF([test "X$found_postgresql" = "Xno"],[break])
121121
122122
AC_CACHE_CHECK([for the PostgreSQL libraries CPPFLAGS],[ac_cv_POSTGRESQL_CPPFLAGS],
123123
[ac_cv_POSTGRESQL_CPPFLAGS="`$PKG_CONFIG libpq --cflags-only-I`" || _AX_LIB_POSTGRESQL_PKG_CONFIG_fail=yes])

0 commit comments

Comments
 (0)