2
/bin/rm -f */.deps/*.P config.cache
4
aclocal; autoheader; aclocal; automake; autoconf
6
# If you are not using codefusion add "-Wpointer-arith" to WARNINGS
7
# The following warning flag will give too many warnings:
8
# -Wshadow -Wunused -Winline (The later isn't usable in C++ as
9
# __attribute()__ doesn't work with gnu C++)
11
GLOBAL_WARNINGS="-Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wuninitialized -Wformat -Wimplicit-function-dec -Wimplicit-int -Wparentheses -Wsign-compare -Wwrite-strings"
12
C_WARNINGS="$GLOBAL_WARNINGS -Wunused"
13
CC_WARNINGS="$GLOBAL_WARNINGS -Woverloaded-virtual -Wextern-inline -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor"
15
CFLAGS="-DFORCE_INIT_OF_VARS -O2 -mpentiumpro $C_WARNINGS" CXX=gcc \
16
CXXFLAGS="-DFORCE_INIT_OF_VARS -O2 -mpentiumpro -felide-constructors -fno-exceptions -fno-rtti $CC_WARNINGS" \
17
./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared --with-extra-charsets=complex --with-debug=full
18
--with-berkeley-db=/usr/local/BerkeleyDB