diff options
author | unknown <kent@mysql.com> | 2005-10-19 22:00:12 +0200 |
---|---|---|
committer | unknown <kent@mysql.com> | 2005-10-19 22:00:12 +0200 |
commit | e27cb111cd1c451dcba8111c2ed1ca97037dd5ad (patch) | |
tree | 61a3464fdb89f4232894805f3e8b6dbf37f07f06 /support-files | |
parent | a43ec392af5109f3c3f99ca670148e5eafdd6f68 (diff) | |
download | mariadb-git-e27cb111cd1c451dcba8111c2ed1ca97037dd5ad.tar.gz |
mysql.spec.sh:
Made yaSSL support an option (off by default)
support-files/mysql.spec.sh:
Made yaSSL support an option (off by default)
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/mysql.spec.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh index 65d74474386..265f576cd86 100644 --- a/support-files/mysql.spec.sh +++ b/support-files/mysql.spec.sh @@ -1,8 +1,15 @@ %define mysql_version @VERSION@ + # use "rpmbuild --with static" or "rpm --define '_with_static 1'" (for RPM 3.x) # to enable static linking (off by default) %{?_with_static:%define STATIC_BUILD 1} %{!?_with_static:%define STATIC_BUILD 0} + +# use "rpmbuild --with yassl" or "rpm --define '_with_yassl 1'" (for RPM 3.x) +# to build with yaSSL support (off by default) +%{?_with_yassl:%define YASSL_BUILD 1} +%{!?_with_yassl:%define YASSL_BUILD 0} + %if %{STATIC_BUILD} %define release 0 %else @@ -239,7 +246,9 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \ --with-unix-socket-path=/var/lib/mysql/mysql.sock \ --prefix=/ \ --with-extra-charsets=complex \ +%if %{YASSL_BUILD} --with-yassl \ +%endif --exec-prefix=%{_exec_prefix} \ --libexecdir=%{_sbindir} \ --libdir=%{_libdir} \ @@ -687,6 +696,10 @@ fi %changelog * Wed Oct 19 2005 Kent Boortz <kent@mysql.com> +- Made yaSSL support an option (off by default) + +* Wed Oct 19 2005 Kent Boortz <kent@mysql.com> + - Enabled yaSSL support * Sat Oct 15 2005 Kent Boortz <kent@mysql.com> |