mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
d497966a18
configure.in: To configure InnoDB for cross compilation. include/config-netware.h: NetWare specific change to fix the compilation errors caused by event.h NetWare specific change required for WINE PATH and for new versions LibC(Jun 05) and zlib(1.2.3) netware/BUILD/compile-AUTOTOOLS: Netware specific change reflecting the change in source code directory structure. netware/BUILD/compile-linux-tools: Netware specific change to fix the location where gen_lex_hash gets created. Fixed also directory structure reflecting changes. netware/BUILD/compile-netware-END: Netware specific change for creating mysqld_error.h netware/BUILD/mwenv: Netware specific change required for WINE PATH and for new versions LibC(Jun 05) and zlib(1.2.3). netware/BUILD/nwbootstrap: NetWare Specific change to produce absoulte path for XDC file. netware/Makefile.am: Netware specific changes to fix to match new directory structure. netware/my_manage.h: Netware specific change required for WINE PATH and for new versions LibC(Jun 05) and zlib(1.2.3). netware/mysql_test_run.c: Netware specific change, added --autoclose option for mysql_test_run.nlm. scripts/make_binary_distribution.sh: Fix to reflect change in directory structure. sql/mysqld.cc: Stacksize change for Netware. Netware specific change to fix the compilation errors caused by event.h sql/set_var.cc: Minor indending related fix. sql/sql_class.cc: Added #ifdef HAVE_EXPLICIT_TEMPLATE_INSTANTIATION macro. storage/innobase/os/os0thread.c: Netware specific change to increase the thread stack size. storage/myisam/mi_locking.c: Enclosed MMAP related code under HAVE_MMAP preprocessor directive.
44 lines
793 B
Bash
Executable file
44 lines
793 B
Bash
Executable file
#! /bin/sh
|
|
|
|
# debug
|
|
#set -x
|
|
|
|
# stop on errors
|
|
set -e
|
|
|
|
path=`dirname $0`
|
|
|
|
# clean
|
|
if test -e "Makefile"; then make -k clean; fi
|
|
|
|
# remove files
|
|
rm -f */.deps/*.P
|
|
rm -rf Makefile.in.bk
|
|
|
|
# Metrowerks enviornment
|
|
. $path/mwenv
|
|
|
|
# run auto tools
|
|
. $path/compile-AUTOTOOLS
|
|
|
|
# For NetWare there is no comp_err but comp_err.linux
|
|
sed -e "s/comp_err\$(EXEEXT)/comp_err.linux/g" extra/Makefile.am > extra/Makefile.am.$$
|
|
mv extra/Makefile.am.$$ extra/Makefile.am
|
|
|
|
# configure
|
|
./configure $base_configs $extra_configs
|
|
|
|
# make
|
|
make clean bin-dist
|
|
|
|
# mark the build
|
|
for file in *.tar.gz *.zip
|
|
do
|
|
if (expr "$file" : "mysql-[1-9].*" > /dev/null)
|
|
then
|
|
new_file=`echo $file | sed -e "s/mysql-/mysql-$suffix-/"`
|
|
if test -e "$new_file"; then mv -f $new_file $new_file.old; fi
|
|
mv $file $new_file
|
|
fi
|
|
done
|
|
|