List:Commits« Previous MessageNext Message »
From:msvensson Date:May 23 2006 8:07am
Subject:bk commit into 5.1 tree (msvensson:1.2180) BUG#20002
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of msvensson. When msvensson does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2180 06/05/23 10:07:07 msvensson@neptunus.(none) +1 -0
  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
    1.2 06/05/23 10:06:53 msvensson@neptunus.(none) +12 -2
    Add error message if --with-yassl or --with-openssl is used

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/mysql-5.1-release

--- 1.1/config/ac-macros/ssl.m4	2006-05-17 13:59:32 +02:00
+++ 1.2/config/ac-macros/ssl.m4	2006-05-23 10:06:53 +02:00
@@ -23,7 +23,7 @@
     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 @@
               [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 @@
       MYSQL_FIND_OPENSSL([$mysql_ssl_dir])
       ;;
   esac
-  AM_CONDITIONAL([HAVE_YASSL], [ test "$with_yassl" = "yes" ])
+  AM_CONDITIONAL([HAVE_YASSL], [ test "$with_bundled_yassl" = "yes" ])
 ])
Thread
bk commit into 5.1 tree (msvensson:1.2180) BUG#20002msvensson23 May