Commit d654be88 authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

[master] check for mysql.h not mysql/mysql.h

since mysql directory may already be provided by mysql_config output
and anyways mysql.h is used by the code.
parent 36378804
......@@ -767,7 +767,7 @@ if test "$MYSQL_CONFIG" != "" ; then
LIBS="$MYSQL_LIBS $LIBS"
AC_LINK_IFELSE(
[AC_LANG_PROGRAM([#include <mysql/mysql.h>],
[AC_LANG_PROGRAM([#include <mysql.h>],
[MYSQL mysql_handle;
(void) mysql_init(&mysql_handle);
])],
......
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