mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 19:41:47 +01:00
ceadd59644
into janus.mylan:/usr/home/serg/Abk/mysql-maria1 Makefile.am: Auto merged client/mysqldump.c: Auto merged configure.in: Auto merged libmysqld/Makefile.am: Auto merged mysql-test/mysql-test-run.pl: Auto merged mysql-test/r/mysqldump.result: Auto merged mysql-test/t/disabled.def: Auto merged mysql-test/t/mysqldump.test: Auto merged mysys/mf_tempfile.c: Auto merged sql/Makefile.am: Auto merged sql/ha_partition.cc: Auto merged sql/ha_partition.h: Auto merged sql/handler.cc: Auto merged sql/lock.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_plugin.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_table.cc: Auto merged sql/table.cc: Auto merged sql/table.h: Auto merged BUILD/compile-dist: SCCS merged
50 lines
1.3 KiB
Bash
Executable file
50 lines
1.3 KiB
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# This script's purpose is to update the automake/autoconf helper scripts and
|
|
# to run a plain "configure" without any special compile flags. Only features
|
|
# that affect the content of the source distribution are enabled. The resulting
|
|
# tree can then be picked up by "make dist" to create the "pristine source
|
|
# package" that is used as the basis for all other binary builds.
|
|
#
|
|
test -f Makefile && make maintainer-clean
|
|
(cd storage/innobase && aclocal && autoheader && \
|
|
libtoolize --automake --force --copy && \
|
|
automake --force --add-missing --copy && autoconf)
|
|
aclocal
|
|
autoheader
|
|
libtoolize --automake --force --copy
|
|
automake --force --add-missing --copy
|
|
autoconf
|
|
|
|
# Default to gcc for CC and CXX
|
|
if test -z "$CXX" ; then
|
|
export CXX=gcc
|
|
# Set some required compile options
|
|
if test -z "$CXXFLAGS" ; then
|
|
export CXXFLAGS="-felide-constructors -fno-exceptions -fno-rtti"
|
|
fi
|
|
fi
|
|
|
|
if test -z "$CC" ; then
|
|
export CC=gcc
|
|
fi
|
|
|
|
|
|
# Use ccache, if available
|
|
if ccache -V > /dev/null 2>&1
|
|
then
|
|
if ! (echo "$CC" | grep "ccache" > /dev/null)
|
|
then
|
|
export CC="ccache $CC"
|
|
fi
|
|
if ! (echo "$CXX" | grep "ccache" > /dev/null)
|
|
then
|
|
export CXX="ccache $CXX"
|
|
fi
|
|
fi
|
|
|
|
# Make sure to enable all features that affect "make dist"
|
|
./configure \
|
|
--with-maria-storage-engine \
|
|
--with-ndbcluster
|
|
make
|