From 5f13291f5e395eb45f792dbd769e0758cfd34e51 Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 11 Feb 2025 10:39:42 +0100 Subject: Update for mysql 8.0.33 --- m4/ac_mysql.m4 | 96 ---------------------------------------------------------- 1 file changed, 96 deletions(-) delete mode 100644 m4/ac_mysql.m4 (limited to 'm4') diff --git a/m4/ac_mysql.m4 b/m4/ac_mysql.m4 deleted file mode 100644 index b5a5c0c..0000000 --- a/m4/ac_mysql.m4 +++ /dev/null @@ -1,96 +0,0 @@ -dnl --------------------------------------------------------------------------- -dnl Macro: MYSQL_SRC_TEST -dnl --------------------------------------------------------------------------- - -dir_resolve() dnl {{{ -{ - pwd=`pwd` - cd "$1" 2>/dev/null || cd "${pwd}/${1}" 2>/dev/null - if test "$?" = "0" - then - echo `pwd -P` - else - echo "$1" - fi -} -dnl }}} - -AC_DEFUN([MYSQL_SRC_TEST], [ - AC_MSG_CHECKING(for mysql source code) - AC_ARG_WITH(mysql, - [AS_HELP_STRING([--with-mysql=PATH], [MySQL src directory required to build.])], - [ - ac_mysql_source_dir=`readlink -e "$withval"` - HEADERS="include/my_dir.h include/mysql/plugin.h include/mysql.h include/mysql_version.h include/config.h include/my_config.h" - for file in $HEADERS - do - if ! test -r "$ac_mysql_source_dir/$file" - then - AC_MSG_ERROR([Failed to find required header file $ac_mysql_source_dir/$file, check the path and make sure you've run './configure .... && cd include && make' in MySQL 5.1 sources dir or 'cmake . && make' in MySQL 5.5 sources dir.]) - fi - done - AC_DEFINE([MYSQL_SRC], [1], [Source directory for MySQL]) - MYSQL_INC="-I$ac_mysql_source_dir/sql -I$ac_mysql_source_dir/include -I$ac_mysql_source_dir/regex -I$ac_mysql_source_dir -I$ac_mysql_source_dir/libbinlogevents/export -I$ac_mysql_source_dir/libbinlogevents/include -I$ac_mysql_source_dir/sql/auth" - AC_MSG_RESULT(["$ac_mysql_source_dir"]) - ], - [ - AC_MSG_ERROR(["No mysql source provided. Please specify --with-mysql=!"]) - ] - ) -]) - -dnl --------------------------------------------------------------------------- -dnl Macro: MYSQL_PLUGIN_DIR_TEST -dnl --------------------------------------------------------------------------- - -AC_DEFUN([MYSQL_PLUGIN_DIR_TEST], [ - AC_MSG_CHECKING([for mysql plugin dir]) - ac_mysql_plugin_dir= - AC_ARG_WITH([mysql-plugindir], - [AS_HELP_STRING([--with-mysql-plugindir=PATH], [MySQL plugin directory where plugin is to be copied to])], - [ - ac_mysql_plugin_dir=`readlink -m "$withval"` - MYSQL_PLUGIN_DIR="$ac_mysql_plugin_dir" - ], - [ - ac_mysql_plugin_dir="/usr/lib/mysql/plugin" - MYSQL_PLUGIN_DIR="$ac_mysql_plugin_dir" - AC_MSG_RESULT([--with-mysql-plugindir was not set. Using $ac_mysql_plugin_dir]) - ] - ) -]) - -dnl --------------------------------------------------------------------------- -dnl Macro: MYSQL_LIB_SERVICES : 5.5 services lib to add to linker -dnl --------------------------------------------------------------------------- - -dnl AC_DEFUN([MYSQL_LIB_SERVICES_TEST], [ -dnl AC_MSG_CHECKING([for mysql libmysqlservices]) -dnl ac_mysql_libservices= -dnl AC_ARG_WITH([mysql-libservices], -dnl [AS_HELP_STRING([--with-mysql-libservices=PATH], [MySQL libmysqlservices.a location (relevant for 5.5 only)])], -dnl [ -dnl ac_mysql_libservices=`readlink -e "$withval"` -dnl if test -f "$ac_mysql_libservices" -dnl then -dnl MYSQL_LIBSERVICES="$ac_mysql_libservices" -dnl AC_MSG_RESULT([yes: Using $ac_mysql_libservices]) -dnl else -dnl AC_MSG_ERROR([invalid MySQL libmysqlservices : $ac_mysql_libservices]) -dnl fi -dnl ], -dnl [ -dnl if test -f "$ac_mysql_source_dir/VERSION" -dnl then -dnl source "$ac_mysql_source_dir/VERSION" -dnl if test "$MYSQL_VERSION_MAJOR.$MYSQL_VERSION_MINOR" = "5.5" -dnl then -dnl AC_MSG_ERROR([no mysql-libservices. Required for MySQL 5.5]) -dnl fi -dnl fi -dnl ac_mysql_libservices="" -dnl MYSQL_LIBSERVICES="$ac_mysql_libservices" -dnl AC_MSG_RESULT([--with-mysql-libservices was not set.]) -dnl ] -dnl ) -dnl ]) -- cgit v1.2.3