pike.git / src / modules / Mysql / configure.in

version» Context lines:

pike.git/src/modules/Mysql/configure.in:633:    ], [    void *foo__ = &(((MYSQL *) 0)->net.vio);    ], [pike_cv_have_mysql_field_net_vio="yes"],    [pike_cv_have_mysql_field_net_vio="no"])    ])    if test "$pike_cv_have_mysql_field_net_vio" = yes; then    AC_DEFINE(HAVE_MYSQL_FIELD_NET_VIO)    fi    AC_MSG_RESULT($pike_cv_have_mysql_field_net_vio)    +  # my_bool was removed in MySQL 8 +  AC_CHECK_TYPES([my_bool], [], [], [ + #ifdef HAVE_WINSOCK2_H + #include <winsock2.h> + #elif defined(HAVE_WINSOCK_H) + #include <winsock.h> + #endif +  + #ifdef HAVE_MYSQL_H + #include <mysql.h> + #else + #ifdef HAVE_MYSQL_MYSQL_H + #include <mysql/mysql.h> + #else + #error Need mysql.h headerfile! + #endif + #endif +  ]) +     fi   fi      AC_OUTPUT(Makefile,echo FOO >stamp-h )