diff options
Diffstat (limited to 'config/ac-macros/yassl.m4')
-rw-r--r-- | config/ac-macros/yassl.m4 | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/config/ac-macros/yassl.m4 b/config/ac-macros/yassl.m4 index fb7c89181df..92133339343 100644 --- a/config/ac-macros/yassl.m4 +++ b/config/ac-macros/yassl.m4 @@ -5,12 +5,9 @@ extra/yassl/src/Makefile) AC_DEFUN([MYSQL_CHECK_YASSL], [ AC_MSG_CHECKING(for yaSSL) - AC_ARG_WITH([yassl], - [ --with-yassl Include the yaSSL support], - [yassl=yes], - [yassl=no]) + AC_ARG_WITH([yassl], [ --with-yassl Include the yaSSL support],,) - if test "$yassl" = "yes" + if test "$with_yassl" = "yes" then if test "$openssl" != "no" then @@ -30,5 +27,5 @@ AC_DEFUN([MYSQL_CHECK_YASSL], [ AC_SUBST(openssl_libs) AC_SUBST(openssl_includes) AC_SUBST(yassl_dir) - AM_CONDITIONAL([HAVE_YASSL], [ test "$yassl" = "yes" ]) + AM_CONDITIONAL([HAVE_YASSL], [ test "with_yassl" = "yes" ]) ]) |