diff options
author | unknown <timothy.smith@sun.com> | 2009-09-23 01:26:08 +0200 |
---|---|---|
committer | MySQL Build Team <build@mysql.com> | 2009-09-23 01:26:08 +0200 |
commit | 5ce71b22bfcf974172f8cea2f73d323a80f5a50e (patch) | |
tree | 68d92ae426c2c8b7c1c70705994a4cea8daecf8d /scripts/mysql_config.sh | |
parent | d0408492669d37167708ac6e2642327d2deb5e5f (diff) | |
download | mariadb-git-5ce71b22bfcf974172f8cea2f73d323a80f5a50e.tar.gz |
Add --malloc-lib=LIB option to mysqld_safe to LD_PRELOAD a shared library for mysqld
Diffstat (limited to 'scripts/mysql_config.sh')
-rw-r--r-- | scripts/mysql_config.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/mysql_config.sh b/scripts/mysql_config.sh index 4118856af19..d2699726a25 100644 --- a/scripts/mysql_config.sh +++ b/scripts/mysql_config.sh @@ -167,6 +167,10 @@ Options: --port [$port] --version [$version] --libmysqld-libs [$embedded_libs] + --variable=VAR VAR is one of: + pkgincludedir [$pkgincludedir] + pkglibdir [$pkglibdir] + plugindir [$plugindir] EOF exit 1 } @@ -184,6 +188,15 @@ while test $# -gt 0; do --port) echo "$port" ;; --version) echo "$version" ;; --embedded-libs | --embedded | --libmysqld-libs) echo "$embedded_libs" ;; + --variable=*) + var=`echo "$1" | sed 's,^[^=]*=,,'` + case "$var" in + pkgincludedir) echo "$pkgincludedir" ;; + pkglibdir) echo "$pkglibdir" ;; + plugindir) echo "$plugindir" ;; + *) usage ;; + esac + ;; *) usage ;; esac |