8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 23:23:02 +01:00
firebird-mirror/autogen.sh
asfernandes ed0e0daeb3 - External Engines implementation.
- Plugins API.

- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.

- Fixed CORE-2699 - Common table expression context could be used with parameters.

- Introduce ODS 12.0.

- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00

94 lines
2.4 KiB
Bash
Executable File

#!/bin/sh
#
# Run this to generate all the initial makefiles, etc.
#
PKG_NAME=Firebird2
SRCDIR=`dirname $0`
DIE=0
if [ -z "$AUTORECONF" ]
then
AUTORECONF=autoreconf
fi
echo "AUTORECONF="$AUTORECONF
# This prevents calling automake in old autotools
AUTOMAKE=true
export AUTOMAKE
# This helps some old aclocal versions find binreloc.m4 in current directory
ACLOCAL='aclocal -I .'
export ACLOCAL
VER=`$AUTORECONF --version|grep '^[Aa]utoreconf'|sed 's/^[^0-9]*//'`
case "$VER" in
0* | 1\.* | 2\.[0-9] | 2\.[0-9][a-z]* | \
2\.[1-4][0-9] | 2\.5[0-5][a-z]* )
echo
echo "**Error**: You must have autoconf 2.56 or later installed."
echo "Download the appropriate package for your distribution/OS,"
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/autoconf/"
DIE=1
;;
esac
# Put other tests for programs here!
# If anything failed, exit now.
if test "$DIE" -eq 1; then
exit 1
fi
# Give a warning if no arguments to 'configure' have been supplied.
if test -z "$*" -a x$NOCONFIGURE = x; then
echo "**Warning**: I am going to run \`configure' with no arguments."
echo "If you wish to pass any to it, please specify them on the"
echo \`$0\'" command line."
echo
fi
# Some versions of autotools need it
if [ ! -d m4 ]; then
rm -rf m4
mkdir m4
fi
# Ensure correct utilities are called by AUTORECONF
autopath=`dirname $AUTORECONF`
if [ "x$autopath" != "x" ]; then
PATH=$autopath:$PATH
export PATH
fi
echo "Running autoreconf ..."
$AUTORECONF --install --force --verbose || exit 1
# Hack to bypass bug in autoreconf - --install switch not passed to libtoolize,
# therefore missing config.sub and confg.guess files
CONFIG_AUX_DIR=builds/make.new/config
if [ ! -f $CONFIG_AUX_DIR/config.sub -o ! -f $CONFIG_AUX_DIR/config.guess ]; then
# re-run libtoolize with --install switch, if it does not understand that switch
# and there are no config.sub/guess files in CONFIG_AUX_DIR, we will anyway fail
echo "Re-running libtoolize ..."
if [ -z "$LIBTOOLIZE" ]; then
LIBTOOLIZE=libtoolize
fi
$LIBTOOLIZE --install --copy --force || exit 1
fi
# If NOCONFIGURE is set, skip the call to configure
if test "x$NOCONFIGURE" = "x"; then
conf_flags="$conf_flags --enable-binreloc"
echo Running $SRCDIR/configure $conf_flags "$@" ...
rm -f config.cache config.log
chmod a+x $SRCDIR/configure
$SRCDIR/configure $conf_flags "$@" \
&& echo Now type \`make\' to compile $PKG_NAME
else
echo Autogen skipping configure process.
fi
# EOF