diff options
author | Joerg Bruehe <joerg@mysql.com> | 2009-10-09 21:31:37 +0200 |
---|---|---|
committer | Joerg Bruehe <joerg@mysql.com> | 2009-10-09 21:31:37 +0200 |
commit | 5710aae8bb2c49815c3da37d711febea652b284b (patch) | |
tree | 6462c61f2b5b62ba8e9128d65af67d07b740c8ff /configure.in | |
parent | 1d5acddf151a7300db1030f4b8b9fe323dae9af9 (diff) | |
download | mariadb-git-5710aae8bb2c49815c3da37d711febea652b284b.tar.gz |
Fix Bug #47957
A build "--without-server" fails if using "--with-ssl" (YaSSL)
The problem was the lack of directory "extra" in a build
which did not include the server.
configure.in:
1) Ensure "extra" is in the list of client directories.
2) Always handle the client directories first, as they will
be contained in every build (we have client-only, but not
server-only).
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 3e43a5f5779..82335e2c3fd 100644 --- a/configure.in +++ b/configure.in @@ -2769,7 +2769,7 @@ server_scripts= dnl This probably should be cleaned up more - for now the threaded dnl client is just using plain-old libs. -sql_client_dirs="strings regex mysys dbug libmysql" +sql_client_dirs="strings mysys dbug extra regex libmysql" AM_CONDITIONAL(THREAD_SAFE_CLIENT, test "$THREAD_SAFE_CLIENT" != "no") @@ -2835,9 +2835,10 @@ AC_SUBST(mysql_plugin_defs) # Now that sql_client_dirs and sql_server_dirs are stable, determine the union. -# Start with the (longer) server list, add each client item not yet present. -sql_union_dirs=" $sql_server_dirs " -for DIR in $sql_client_dirs +# We support client-only builds by "--without-server", but not vice versa, +# so we start with the client list, then add each server item not yet present. +sql_union_dirs=" $sql_client_dirs " +for DIR in $sql_server_dirs do if echo " $sql_union_dirs " | grep " $DIR " >/dev/null then |