Kaydet (Commit) 130028f2 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

configure pgsql-sdbc: use PGCONFIG instead of relying on PATH

üst 53125e89
...@@ -5411,8 +5411,8 @@ if test "x$enable_ext_postgresql_sdbc" = "xyes" -a "x$enable_extension_integrati ...@@ -5411,8 +5411,8 @@ if test "x$enable_ext_postgresql_sdbc" = "xyes" -a "x$enable_extension_integrati
if test -z "$PGCONFIG"; then if test -z "$PGCONFIG"; then
AC_MSG_ERROR([pg_config needed; set PGCONFIG if not in PATH]) AC_MSG_ERROR([pg_config needed; set PGCONFIG if not in PATH])
fi fi
POSTGRESQL_INC=-I$(pg_config --includedir) POSTGRESQL_INC=-I$(${PGCONFIG} --includedir)
POSTGRESQL_LIB="-L$(pg_config --libdir)" POSTGRESQL_LIB="-L$(${PGCONFIG} --libdir)"
else else
SYSTEM_POSTGRESQL=NO SYSTEM_POSTGRESQL=NO
if test -n "$with_libpq_path"; then if test -n "$with_libpq_path"; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment