]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] check for mysql.h not mysql/mysql.h
authorJeremy C. Reed <jreed@isc.org>
Wed, 14 Nov 2012 13:33:55 +0000 (07:33 -0600)
committerJeremy C. Reed <jreed@isc.org>
Wed, 14 Nov 2012 13:33:55 +0000 (07:33 -0600)
since mysql directory may already be provided by mysql_config output
and anyways mysql.h is used by the code.

configure.ac

index f4324996010d87928a1578bccdff3a0573dcdbe1..95f95c6d0b6c6b9bd977d1c1ee2266adc6d6cf3e 100644 (file)
@@ -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);
                              ])],