@@ -24,18 +24,23 @@ Untested combinations of 'autoconf' and PostgreSQL versions are not
2424recommended. You can remove the check from 'configure.ac' but it is then
2525your responsibility whether the result works or not.] ) ] )
2626AC_COPYRIGHT ( [ Copyright (c) 1996-2025, PostgreSQL Global Development Group] )
27+ AC_COPYRIGHT ( [ Portions Copyright (c), 2023-2025, IvorySQL Global Development Team] )
2728AC_CONFIG_SRCDIR ( [ src/backend/access/common/heaptuple.c] )
2829AC_CONFIG_AUX_DIR ( config )
2930AC_PREFIX_DEFAULT ( / usr/local/pgsql )
3031AC_DEFINE_UNQUOTED ( CONFIGURE_ARGS , [ "$ac_configure_args"] , [ Saved arguments from configure] )
3132
33+ # IvorySQL version
34+ PACKAGE_IVORYSQL_VERSION='5beta1'
35+
3236[ PG_MAJORVERSION=`expr "$PACKAGE_VERSION" : '\([ 0-9] [ 0-9] *\)'`]
3337[ PG_MINORVERSION=`expr "$PACKAGE_VERSION" : '.*\.\([ 0-9] [ 0-9] *\)'`]
3438test -n "$PG_MINORVERSION" || PG_MINORVERSION=0
3539AC_SUBST ( PG_MAJORVERSION )
3640AC_DEFINE_UNQUOTED ( PG_MAJORVERSION , "$PG_MAJORVERSION" , [ PostgreSQL major version as a string] )
3741AC_DEFINE_UNQUOTED ( PG_MAJORVERSION_NUM , $PG_MAJORVERSION , [ PostgreSQL major version number] )
3842AC_DEFINE_UNQUOTED ( PG_MINORVERSION_NUM , $PG_MINORVERSION , [ PostgreSQL minor version number] )
43+ AC_DEFINE_UNQUOTED ( [ PACKAGE_IVORYSQL_VERSION] , "$PACKAGE_IVORYSQL_VERSION" , [ IvorySQL version number] )
3944
4045PGAC_ARG_REQ(with, extra-version, [ STRING] , [ append STRING to version] ,
4146 [ PG_VERSION="$PACKAGE_VERSION$withval"] ,
0 commit comments