Parcourir la source

[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.
Jeremy C. Reed il y a 12 ans
Parent
commit
d654be880d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -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);
                              ])],