configure.ac should use mysql_config --libs_r instead of manual check for libmysqlclient

Bug #1187033 reported by Sergei Glushchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
percona-pam-for-mysql
Fix Released
Medium
Sergei Glushchenko

Bug Description

Currently libmysqlclient is checked as following:

AC_CHECK_LIB([mysqlclient], [mysql_init], [DIALOG_LIBS="$DIALOG_LIBS -lmysqlclient"],
    AC_MSG_ERROR(
        [Unable to find libmysqlclient. Please install the mysql development libraries])
)

it should be taken from mysql_config --libs_r similar to include path is taken from mysql_config --include

Related branches

Changed in percona-pam-for-mysql:
importance: Undecided → Medium
status: New → Fix Committed
assignee: nobody → Sergei Glushchenko (sergei.glushchenko)
Changed in percona-pam-for-mysql:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.