Skip to content

Commit 0283d78

Browse files
committed
fix review comments :configure is usually generated by autoconf tool
1 parent 72583e0 commit 0283d78

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎configure.ac‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,23 @@ Untested combinations of 'autoconf' and PostgreSQL versions are not
2424
recommended. You can remove the check from 'configure.ac' but it is then
2525
your responsibility whether the result works or not.])])
2626
AC_COPYRIGHT([Copyright (c) 1996-2025, PostgreSQL Global Development Group])
27+
AC_COPYRIGHT([Portions Copyright (c), 2023-2025, IvorySQL Global Development Team])
2728
AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c])
2829
AC_CONFIG_AUX_DIR(config)
2930
AC_PREFIX_DEFAULT(/usr/local/pgsql)
3031
AC_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]*\)'`]
3438
test -n "$PG_MINORVERSION" || PG_MINORVERSION=0
3539
AC_SUBST(PG_MAJORVERSION)
3640
AC_DEFINE_UNQUOTED(PG_MAJORVERSION, "$PG_MAJORVERSION", [PostgreSQL major version as a string])
3741
AC_DEFINE_UNQUOTED(PG_MAJORVERSION_NUM, $PG_MAJORVERSION, [PostgreSQL major version number])
3842
AC_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

4045
PGAC_ARG_REQ(with, extra-version, [STRING], [append STRING to version],
4146
[PG_VERSION="$PACKAGE_VERSION$withval"],

0 commit comments

Comments
 (0)