Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when execute configure, auto search mysql plugin directory with mysql_config #1

Closed
Joungkyun opened this issue May 20, 2016 · 1 comment
Assignees
Milestone

Comments

@Joungkyun
Copy link
Owner

Remove --mysql-plugins-dir option. And search mysql_config and get mysql plugin dir with --plugindir option.

first, use --with-mysql and if set --with-mysql-config, use value of --with-mysql-config

for i in $MYSQL_PREFIX/bin $MYSQL_PREFIX/sbin /usr/bin /usr/sbin /bin /sbin /usr/local/bin /usr/local/sbin
do
    if test -f "$i/mysql_config"; then
        MYSQL_CONFIG="$i/mysql_config"
        break
    fi
done

if test "x$with_mysql_config" != "xno"; then
    if test -x "$with_mysql_config"; then
        MYSQL_CONFIG="$with_mysql_config"
    fi
fi
@Joungkyun Joungkyun added this to the 1.0.4 milestone May 20, 2016
@Joungkyun Joungkyun self-assigned this May 20, 2016
@Joungkyun
Copy link
Owner Author

fixed commit 904c261

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant