summaryrefslogtreecommitdiff
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Bug#57991: Compiler flag change build error : adler32.cDavi Arnaut2010-12-071-1/+4
| | | | | | Do not use the same maintainer mode flags for both GCC and ICC. The -Wall option for ICC enables more warnings than its GCC counterpart.
* BUG#57933 "add -Wdeclaration-after-statement to gcc builds";Guilhem Bichot2010-11-051-0/+1
| | | first part, for autotools build.
* Bug#45288: pb2 returns a lot of compilation warnings on linuxDavi Arnaut2010-10-181-1/+2
| | | | | Enable the MySQL maintainer-specific development environment (which add various warning related options to the compiler flags) if debugging support is enabled.
* Bug#45288: pb2 returns a lot of compilation warnings on linuxDavi Arnaut2010-09-241-1/+1
| | | | | Temporarily disable strict aliasing warnings in order to get wider coverage for optimized builds. Once the violations are fixed and false-positives silenced, this flag should be removed.
* Remove AC_LANG_WERROR, it causes trouble earlier versionsDavi Arnaut2010-07-091-2/+0
| | | of autoconf and is not strictly needed for now.
* Bug#53445: Build with -Wall and fix warnings that it generatesDavi Arnaut2010-07-091-0/+66
| | | | | | | | | | | | | | | | Introduce a MySQL maintainer/developer mode that enables a set of warning options for the C/C++ compiler. This mode is intended to help improve the overall quality of the code. The warning options are: C_WARNINGS="-Wall -Wextra -Wunused -Wwrite-strings -Werror" CXX_WARNINGS="$C_WARNINGS -Wno-unused-parameter" Since -Wall is essentially a moving target, autoconf checks are not run with warning options enabled, in particualr -Werror. This decision might be revisited in the future. The patch also fixes a mistake in the makefiles, where automake CXXFLAGS would be set to CFLAGS.
* Merge of mysql-5.0-bugteam into mysql-5.1-bugteam.Davi Arnaut2010-06-081-1/+10
|\
| * Bug#34236: Various possibly related SSL crashesDavi Arnaut2010-06-081-0/+6
| | | | | | | | | | | | | | | | | | | | The problem was that the bundled yaSSL library was being built without thread safety support regardless of the thread safeness of the compoments linked with it. The solution is to enable yaSSL thread safety support if any component (server or client) is to be built with thread support. Also, generate new certificates for yaSSL's test suite.
* | auto-mergeTimothy Smith2009-11-041-3/+3
|\ \ | |/
| * Fix for Bug#40700: aclocal warnings for missing cache-id'sTimothy Smith2009-11-041-3/+3
| | | | | | | | | | | | Just change mysql_foo to mysql_cv_foo for one cache-id variable name. There was only one bad variable name, present in 5.0 and 5.1, but not in the -pe branch.
* | Merge approved bug fixJim Winstead2009-08-051-6/+49
|\ \
| * | Not all of the necessary tests for multi-byte support in readlineJim Winstead2009-07-311-6/+49
| | | | | | | | | | | | were included in the configure tests. (Bug #46310)
* | | Merge the fix for bug#42213 up into 5.1-build:Joerg Bruehe2009-07-301-0/+4
|\ \ \ | |/ / |/| / | |/ Check for "stack overrun" doesn't work, server crashes
| * Our autoconf function "MYSQL_STACK_DIRECTION" will not workJoerg Bruehe2009-07-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | correctly if the compiler optimizes too clever. This has happaned on HP-UX 11.23 (IA64) at optimization level "+O2", causing bug#42213: Check for "stack overrun" doesn't work, server crashes Fix it by adding a pragma that prevents this optimization. As a result, it should be safe to use "+O2" on this platform (unless there is some other, optimizer-related, bug which is just currently masked because we use resudec optimization).
* | AutomergeAlexey Kopytov2009-03-251-5/+8
|\ \ | |/
| * Accept wide-character version of libncurses also.Chad MILLER2009-03-111-5/+8
| |
* | Bug #43614: make distcheck failure (ndb/Makefile is made, but not subdirs of ↵Georgi Kodinov2009-03-132-37/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ndb) There are some recursive targets that automake generates which reference DIST_SUBDIRS. It's critical, then, for such subdirs to exist even if they won't be built as part of SUBDIRS. During a VPATH build, it is the configure script which creates the subdirs (when it processes the AC_CONFIG_FILES() for each subdir's Makefile). If autoconf doesn't create a subdir's Makefile, then the recursive make will fail when it is unable to cd into that subdir. This isn't a problem in non-VPATH builds, because the subdirs are all present in the source tarball. So the problem only shows up during 'make distcheck', which does a VPATH build. The fix is to look, when configure is being created by autoconf, for any plugin subdirectories. These are the dynamic subdirectories which need to be handled specially. It's enough to tell autoconf to generate a Makefile for any Makefile.am found in the plugin directory - all plugin subdirectories using automake (i.e., listed in the plugin's DIST_SUBDIRS) will have a Makefile.am. This is done by calling 'find'. This means that 'find' must be in the PATH on the host that is running autoconf. 'find' is NOT needed when calling configure, so it is not an additional dependency for the user. Finally, ha_ndbcluster.m4 had called AC_CONFIG_FILES() on all those subdir Makefiles, but only when the plugin was actually being built. So it didn't work in the case that NDB was not being built. All of those Makefiles have to be removed from this static list, since the plugin machinery is now adding them automatically. autoconf fails if a file is duplicated in AC_CONFIG_FILES().
* | Add the IBM DB2 for i storage engine.Timothy Smith2009-02-151-21/+51
| | | | | | | | | | | | | | | | | | | | | | | | Modify plugins.m4 configuration framework so that plugins which are not built still get added to the source distribution during make dist. This came up now because we can only build ibmdb2i on i5/OS, and we can't bootstrap our source dist on that platform. The solution is to specify DIST_SUBDIRS containing all plugins, separate from SUBDIRS which contains the plugins which are actually built. This ibmdb2i code is from the ibmdb2i-ga3-src.zip file, with a patch to plug.in to disable the plugin if the PASE environment isn't available.
* | Fix Bug#32831: libmysql should be built with all charsetsTimothy Smith2009-01-131-0/+3
| | | | | | | | | | | | Add #define HAVE_CHARSET_name in config-win.h for all character sets that MySQL supports. Add comments to config/ac-macros/character_sets.m4 and config-win.h so hopefully they will be updated in sync.
* | Back merges from 6.0.8kent.boortz@sun.com2008-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | - Removed some copy/paste between debug and normal build in RPM spec - Removed "mysql_upgrade_shell" from RPM build - Removed use of "grep -q" in "configure.in", not portable - Improved test to disable ABI check not to accidently run for icc Other changes - Added make file test targets 'test-bt-fast' and 'test-bt-debug-fast' - Reenabled "jp" test suite run
* | Bug#35808 utf8 hungarian collation not part of the utf8 charset?Alexander Barkov2008-07-291-4/+4
| | | | | | | | | | config/ac-macros/character_sets.m4 didn't mention hungarian collations in the UTF8 and UCS2 lists.
* | ha_ndbcluster.m4:kent@mysql.com/kent-amd64.(none)2008-02-261-3/+3
| | | | | | | | Use MYSQL_NUMERIC_VERSION, to make sure NDB_VERSION_BUILD is numeric
* | Merge mysql.com:/home/kent/bk/build/mysql-5.0-buildkent@kent-amd64.(none)2008-02-262-4/+4
|\ \ | |/ | | | | into mysql.com:/home/kent/bk/build/mysql-5.1-build
| * Makefile.am, Info.plist.sh:kent@mysql.com/kent-amd64.(none)2008-02-263-6/+6
| | | | | | | | | | | | Use MYSQL_NUMERIC_VERSION, only three numbers separated with dot misc.m4, character_sets.m4, openssl.m4: Removed unneded semicolon
* | ha_ndbcluster.m4:kent@mysql.com/kent-amd64.(none)2008-02-121-9/+4
| | | | | | | | | | If the third number in version is followed by a letter, include it in NDB_VERSION_STATUS, but not in numeric NDB_VERSION_BUILD
* | Bug#30296antony@pcg5ppc.xiphis.org2007-10-251-0/+11
| | | | | | | | | | | | | | "Dynamic plugins fail to load on FreeBSD" ELF executables need to be linked using the -export-dynamic option to ld(1) for symbols defined in the executable to become visible to dlsym(). Also, do not build plugins on an all-static build.
* | Merge polly.(none):/home/kaa/src/maint/bug31254/my51-bug31254kaa@polly.(none)2007-10-121-2/+9
|\ \ | | | | | | | | | into polly.(none):/home/kaa/src/maint/mysql-5.1-maint
| * \ Merge polly.(none):/home/kaa/src/maint/bug31254/my50-bug31254kaa@polly.(none)2007-10-121-2/+9
| |\ \ | | |/ | | | | | | into polly.(none):/home/kaa/src/maint/bug31254/my51-bug31254
| | * Fix for bug #31254: "Max_data_length" truncated / reported wrongkaa@polly.(none)2007-10-121-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (compiler issue ?) Problem: Improper compile-time flags on AIX prevented use of files > 2 GB. This resulted in Max_data_length being truncated to 2 GB by MyISAM code. Solution: Reverted large-file changes from the fix for bug10776. We need to define _LARGE_FILES on AIX to have support for files > 2 GB. Since _LARGE_FILE_API is incompatible with _LARGE_FILES and may be automatically defined by including standards.h, we also need a workaround to avoid this conflict.
| | * Merge trift2.:/MySQL/M50/push-5.0joerg@trift2.2007-09-131-5/+2
| | |\ | | | | | | | | | | | | into trift2.:/MySQL/M50/tmp-5.0
| | * \ Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-buildtsmith@ramayana.hindu.god2007-08-011-8/+3
| | |\ \ | | | | | | | | | | | | | | | into ramayana.hindu.god:/home/tsmith/m/bk/maint/50
* | | \ \ Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.1-buildkent@kent-amd64.(none)2007-09-262-12/+12
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | into mysql.com:/home/kent/bk/make-dist-stable/mysql-5.1-build
| * | | | Makefile.am:kent@mysql.com/kent-amd64.(none)2007-09-262-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always include all sub directories in "make dist" Removed incorrect comment configure.in: Unconditionally list make files in AC_CONFIG_FILES Removed 'thread_dirs', it is not used Minor cleanup compile-dist: Simplified the configure line needed for "make dist" to get it all zlib.m4, ssl.m4: Unconditionally list make files in AC_CONFIG_FILES Makefile.am: Removed DIST_SUBDIRS not needed Don't copy soft links as files into source package
* | | | | Merge production.mysql.com:/usersnfs/jperkin/bk/tmp/bug-27520jperkin@production.mysql.com2007-09-071-5/+2
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | into production.mysql.com:/usersnfs/jperkin/bk/trees/51/mysql-5.1
| * | | Fix bug#27520. For some unknown reason, libtool.m4 attemptsjperkin@production.mysql.com2007-08-201-5/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to find "ar" but if it cannot be found sets AR=false. This leads to confusing failures during the build rather than at configure time. We have our own checks for ar, but as AR was already set earlier by the libtool tests they were never exectuted. Therefore, update the tests so that we catch any libtool failures, and run AC_CHECK_PROG explicitly to ensure that we see sensible output from configure prior to any potential failure.
* | | Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-buildtsmith@ramayana.hindu.god2007-08-011-1/+23
|\ \ \ | | | | | | | | | | | | into ramayana.hindu.god:/home/tsmith/m/bk/maint/51
| * \ \ Merge mysql.com:/home/kent/bk/config_h/mysql-5.0-buildkent@kent-amd64.(none)2007-07-301-1/+0
| |\ \ \ | | |/ / | | | | | | | | into mysql.com:/home/kent/bk/config_h/mysql-5.1-build
| | * | Generate "config.h" directly into the "include" directory, later copiedkent@mysql.com/kent-amd64.(none)2007-07-301-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | to "my_config.h". Not to pollute the top directory, and to get more control over what is included. Made the include path for "libedit" pick up its own "config.h" first.
| * | | Many files:kent@mysql.com/kent-amd64.(none)2007-07-231-0/+23
| | | | | | | | | | | | | | | | Put back old code to check stack direction at configure time
* | | | Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2tnurnberg@sin.intern.azundris.com2007-08-011-0/+7
| | | | | | | | | | | | | | | | 5.1 specific fixes so cluster will build on AIX (with IBM compiler)
* | | | Merge sin.intern.azundris.com:/home/tnurnberg/10776/50-10776tnurnberg@sin.intern.azundris.com2007-08-011-8/+3
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| into sin.intern.azundris.com:/home/tnurnberg/10776/51-10776
| * | Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2tnurnberg@sin.intern.azundris.com2007-08-011-8/+3
| |/ | | | | | | | | | | | | | | mysqld hasn't been built on AIX with ndb-everything in quite a while. this allowed a variety of changes to be added that broke the AIX build for both the GNU and IBM compilers (but the IBM suite in particular). Changeset lets build to complete on AIX 5.2 for users of the GNU and the IBM suite both. Tudo bem?
* | sql_parse.cc, config-win.h, config-netware.h:kent@mysql.com/kent-amd64.(none)2007-05-272-25/+4
| | | | | | | | | | | | | | | | | | Don't try determine stack direction at configure time compiler_flag.m4: Use AC_TRY_COMPILE and AC_TRY_LINK instead of AC_TRY_RUN where possible misc.m4, configure.in: Use fourth argument to AC_TRY_RUN, to be used in cross compilation Don't try determine stack direction at configure time
* | Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1tomas@whalegate.ndb.mysql.com2007-05-221-1/+1
|\ \ | | | | | | | | | into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-single-user
| * \ Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndbmikael@dator3.(none)2007-05-101-1/+1
| |\ \ | | | | | | | | | | | | into dator3.(none):/home/mikael/mysql_clones/rt-5.1
| | * \ Merge mikael@192.168.0.203:/home/mikael/mysql_clones/rt-5.1mikron@mikael-ronstr-ms-dator.local2007-05-081-1/+1
| | |\ \ | | | | | | | | | | | | | | | into mikael-ronstr-ms-dator.local:/Users/mikron/mysql_clones/mysql-5.1-ndb
| | | * \ Merge mikael-ronstr-ms-dator.local:/Users/mikron/mysql_clones/mysql-5.0-ndbmikron@mikael-ronstr-ms-dator.local2007-05-071-1/+1
| | | |\ \ | | | | |/ | | | | | | | | | | into mikael-ronstr-ms-dator.local:/Users/mikron/mysql_clones/mysql-5.1-ndb
| | | | * Fix SCI Transportermikron@mikael-ronstr-ms-dator.local2007-05-071-1/+1
| | | | |
| | | | * Merge ↵df@pippilotta.erinye.com2007-04-111-0/+24
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work-25601 into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work
* | | | | \ Merge siva.hindu.god:/home/tsmith/m/bk/51tsmith@siva.hindu.god2007-05-172-3/+2
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | into siva.hindu.god:/home/tsmith/m/bk/maint/51