mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
0d1ba873aa
BitKeeper/etc/ignore: auto-union BitKeeper/etc/logging_ok: auto-union Docs/manual.texi: Auto merged include/my_base.h: Auto merged mysql-test/t/func_time.test: Auto merged mysql-test/t/join.test: Auto merged mysql-test/t/rpl000012.test: Auto merged BUILD/FINISH.sh: Auto merged BitKeeper/deleted/.del-db_ext.h~a1e210bbd0de0a48: Auto merged BitKeeper/deleted/.del-mutex_ext.h~f20f47ddc346598b: Auto merged BitKeeper/deleted/.del-violite.c~984c09cffe14a11b: Auto merged BitKeeper/deleted/.del-violite.c~d7b85be615595ace: Auto merged Build-tools/Do-all-build-steps: Auto merged client/client_priv.h: Auto merged client/mysqladmin.c: Auto merged innobase/include/srv0srv.h: Auto merged innobase/include/univ.i: Auto merged innobase/log/log0log.c: Auto merged innobase/srv/srv0srv.c: Auto merged innobase/srv/srv0start.c: Auto merged isam/pack_isam.c: Auto merged libmysql_r/Makefile.am: Auto merged myisam/myisamchk.c: Auto merged mysql-test/t/having.test: Auto merged mysql-test/t/rpl000015-slave.sh: Auto merged mysql-test/t/rpl000016-slave.sh: Auto merged mysys/mf_cache.c: Auto merged mysys/mf_casecnv.c: Auto merged mysys/mf_tempfile.c: Auto merged readline/vi_mode.c: Auto merged strings/strto.c: Auto merged sql/field.cc: Auto merged sql/field.h: Auto merged sql/ha_berkeley.cc: Auto merged sql/ha_myisammrg.cc: Auto merged sql/handler.cc: Auto merged sql/item.h: Auto merged sql/log_event.cc: Auto merged sql/sql_acl.cc: Auto merged sql/time.cc: Auto merged BUILD/SETUP.sh: Use -mcpu as default (safe for all x86 cpu's) client/mysqldump.c: Merge from 3.23.44 configure.in: Update version number extra/resolveip.c: Portability fix
47 lines
1.1 KiB
Bash
47 lines
1.1 KiB
Bash
cflags="$c_warnings $extra_flags"
|
|
cxxflags="$cxx_warnings $base_cxxflags $extra_flags"
|
|
configure="./configure $base_configs $extra_configs"
|
|
for arg
|
|
do
|
|
# Escape special characters so they don't confuse eval
|
|
configure="$configure "`echo "$arg" | \
|
|
sed -e 's,\([^a-zA-Z0-9_.=-]\),\\\\\1,g'`
|
|
done
|
|
|
|
commands="\
|
|
$make -k clean || true
|
|
/bin/rm -f */.deps/*.P config.cache innobase/config.cache bdb/build_unix/config.cache
|
|
|
|
aclocal && autoheader && aclocal && automake && autoconf
|
|
(cd bdb/dist && sh s_all)
|
|
(cd innobase && aclocal && autoheader && aclocal && automake && autoconf)
|
|
if [ -d gemini ]
|
|
then
|
|
(cd gemini && aclocal && autoheader && aclocal && automake && autoconf)
|
|
fi
|
|
|
|
CFLAGS=\"$cflags\" CXX=$CXX CXXFLAGS=\"$cxxflags\" $configure"
|
|
|
|
if [ -z "$just_configure" ]
|
|
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 "$nonono"
|
|
then
|
|
eval "set -x; $commands"
|
|
else
|
|
echo "$commands"
|
|
fi
|