--with-pgsql-libs is ignored

Bug #1415750 reported by nobuhito
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Alexey Kopytov

Bug Description

If I specify to configure script --with-pgsql-libs, it is ignored.
following code is useful?

=== modified file 'm4/ac_check_pgsql.m4'
--- m4/ac_check_pgsql.m4 2015-01-29 05:53:15 +0000
+++ m4/ac_check_pgsql.m4 2015-01-29 06:00:34 +0000
@@ -28,6 +28,12 @@

+if test [ -n "$ac_cv_pgsql_libs" ]
+ AC_CACHE_CHECK([PostgreSQL libraries], [ac_cv_pgsql_libs], [ac_cv_pgsql_libs=""])
+ PGSQL_LIBS="-L$ac_cv_pgsql_libs -lpq"
 # If some path is missing, try to autodetermine with pgsql_config
 if test [ -z "$ac_cv_pgsql_includes" -o -z "$ac_cv_pgsql_libs" ]

Revision history for this message
Alexey Kopytov (akopytov) wrote :

Merged to both lp:sysbench/0.4 and lp:sysbench. Thanks.

Changed in sysbench:
status: New → Fix Committed
assignee: nobody → Alexey Kopytov (akopytov)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers