summaryrefslogtreecommitdiff
path: root/config/ac-macros/ssl.m4
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-05-23 10:07:07 +0200
committerunknown <msvensson@neptunus.(none)>2006-05-23 10:07:07 +0200
commit1d41f34f9aa64ea986f9e21c55e914650a5e4bae (patch)
tree3aef3fab5c75783e0993f718f0dd8ff892454601 /config/ac-macros/ssl.m4
parentf29550142ccfef65649a95a2458a463ba40b3810 (diff)
downloadmariadb-git-1d41f34f9aa64ea986f9e21c55e914650a5e4bae.tar.gz
Bug#20002 Old --with-openssl and --with-yassl options just silently ignored
- Terminate configure with error(and message) if --with-yassl or --with-openssl is used. config/ac-macros/ssl.m4: Add error message if --with-yassl or --with-openssl is used
Diffstat (limited to 'config/ac-macros/ssl.m4')
-rw-r--r--config/ac-macros/ssl.m414
1 files changed, 12 insertions, 2 deletions
diff --git a/config/ac-macros/ssl.m4 b/config/ac-macros/ssl.m4
index 14f3dcc9bc8..0f2f207c36f 100644
--- a/config/ac-macros/ssl.m4
+++ b/config/ac-macros/ssl.m4
@@ -23,7 +23,7 @@ AC_DEFUN([MYSQL_USE_BUNDLED_YASSL], [
extra/yassl/src/Makefile dnl
extra/yassl/testsuite/Makefile)
- with_yassl="yes"
+ with_bundled_yassl="yes"
yassl_dir="yassl"
AC_SUBST([yassl_dir])
@@ -174,6 +174,16 @@ AC_MSG_CHECKING(for SSL)
[mysql_ssl_dir="$withval"],
[mysql_ssl_dir=no])
+ if test "$with_yassl"
+ then
+ AC_MSG_ERROR([The flag --with-yassl is deprecated, use --with-ssl])
+ fi
+
+ if test "$with_openssl"
+ then
+ AC_MSG_ERROR([The flag --with-openssl is deprecated, use --with-ssl])
+ fi
+
case "$mysql_ssl_dir" in
"no")
#
@@ -196,5 +206,5 @@ AC_MSG_CHECKING(for SSL)
MYSQL_FIND_OPENSSL([$mysql_ssl_dir])
;;
esac
- AM_CONDITIONAL([HAVE_YASSL], [ test "$with_yassl" = "yes" ])
+ AM_CONDITIONAL([HAVE_YASSL], [ test "$with_bundled_yassl" = "yes" ])
])