mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Made detection of GNU tar a bit more flexible.
Only use /usr/local/mysql-glibc if it actually exists
Build-tools/Do-linux-build:
Only use the "--with-other-libc" parameter, if another libc actually
exists at this location
Makefile.am:
Removed hard-coded tar binary name
configure.in:
Added check for GNU tar with various names
sql/sql_yacc.yy:
Added semicolons to several expressions to make bison 1.31 and above
happy when used in Yacc compatibility mode. From the bison NEWS:
"Bison has always permitted actions such as { $$ = $1 }: it adds the
ending semicolon. Now if in Yacc compatibility mode, the semicolon
is no longer output: one has to write { $$ = $1; }."
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
26 lines
797 B
Bash
Executable File
26 lines
797 B
Bash
Executable File
#! /bin/sh
|
|
|
|
set -e -x
|
|
|
|
# Only use the "--with-other-libc" parameter, if another libc actually
|
|
# exists at this location
|
|
OTHER_LIBC_DIR=/usr/local/mysql-glibc
|
|
OTHER_LIBC=""
|
|
if [ -d OTHER_LIBC_DIR ] ; then
|
|
OTHER_LIBC="--with-other-libc=$OTHER_LIBC_DIR"
|
|
fi
|
|
|
|
BUILD/compile-pentium-max $OTHER_LIBC \
|
|
--with-comment="Official MySQL Binary" \
|
|
--prefix=/usr/local/mysql --with-extra-charset=complex \
|
|
--enable-thread-safe-client --enable-local-infile \
|
|
--with-server-suffix=-max
|
|
scripts/make_binary_distribution
|
|
make dist
|
|
Build-tools/Do-rpm --local
|
|
BUILD/compile-pentium --with-other-libc=$OTHER_LIBC_DIR \
|
|
--with-comment="Official MySQL Binary" \
|
|
--prefix=/usr/local/mysql --with-extra-charset=complex \
|
|
--enable-thread-safe-client --enable-local-infile
|
|
scripts/make_binary_distribution
|