mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
14b614e164
BitKeeper/etc/logging_ok: auto-union configure.in: Auto merged BUILD/FINISH.sh: Auto merged BUILD/compile-dist: Auto merged sql/ha_innodb.cc: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/item.cc: Auto merged sql/log.cc: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/sql_acl.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_select.cc: Auto merged storage/ndb/src/cw/cpcd/Process.cpp: Auto merged storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Auto merged storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp: Auto merged storage/ndb/src/kernel/error/ErrorReporter.cpp: Auto merged storage/ndb/src/ndbapi/Ndb.cpp: Auto merged
51 lines
1.4 KiB
Bash
51 lines
1.4 KiB
Bash
cflags="$c_warnings $extra_flags"
|
|
cxxflags="$cxx_warnings $base_cxxflags $extra_flags"
|
|
extra_configs="$extra_configs $local_infile_configs"
|
|
configure="./configure $base_configs $extra_configs"
|
|
|
|
commands="\
|
|
$make -k distclean || true
|
|
/bin/rm -rf */.deps/*.P config.cache storage/innobase/config.cache storage/bdb/build_unix/config.cache bdb/dist/autom4te.cache autom4te.cache innobase/autom4te.cache;
|
|
|
|
aclocal || (echo \"Can't execute aclocal\" && exit 1)
|
|
autoheader || (echo \"Can't execute autoheader\" && exit 1)
|
|
aclocal || (echo \"Can't execute aclocal\" && exit 1)
|
|
automake || (echo \"Can't execute automake\" && exit 1)
|
|
autoconf || (echo \"Can't execute autoconf\" && exit 1)
|
|
(cd storage/bdb/dist && sh s_all)
|
|
(cd storage/innobase && aclocal && autoheader && aclocal && automake && autoconf)
|
|
if [ -d gemini ]
|
|
then
|
|
(cd gemini && aclocal && autoheader && aclocal && automake && autoconf)
|
|
fi"
|
|
|
|
if [ -z "$just_clean" ]
|
|
then
|
|
commands="$commands
|
|
CFLAGS=\"$cflags\" CXX=\"$CXX\" CXXFLAGS=\"$cxxflags\" CXXLDFLAGS=\"$CXXLDFLAGS\" \
|
|
$configure"
|
|
fi
|
|
|
|
if [ -z "$just_configure" -a -z "$just_clean" ]
|
|
then
|
|
commands="$commands
|
|
|
|
$make $AM_MAKEFLAGS"
|
|
|
|
if [ "x$strip" = "xyes" ]
|
|
then
|
|
commands="$commands
|
|
|
|
mkdir -p tmp
|
|
nm --numeric-sort sql/mysqld > tmp/mysqld.sym
|
|
objdump -d sql/mysqld > tmp/mysqld.S
|
|
strip sql/mysqld"
|
|
fi
|
|
fi
|
|
|
|
if test -z "$just_print"
|
|
then
|
|
eval "set -x; $commands"
|
|
else
|
|
echo "$commands"
|
|
fi
|