|
1 | 1 | #! /bin/sh |
2 | 2 | # Guess values for system-dependent variables and create Makefiles. |
3 | | -# Generated by GNU Autoconf 2.69 for PostgreSQL 17.9. |
| 3 | +# Generated by GNU Autoconf 2.69 for PostgreSQL 17.10. |
4 | 4 | # |
5 | 5 | # Report bugs to <pgsql-bugs@lists.postgresql.org>. |
6 | 6 | # |
@@ -582,8 +582,8 @@ MAKEFLAGS= |
582 | 582 | # Identity of this package. |
583 | 583 | PACKAGE_NAME='PostgreSQL' |
584 | 584 | PACKAGE_TARNAME='postgresql' |
585 | | -PACKAGE_VERSION='17.9' |
586 | | -PACKAGE_STRING='PostgreSQL 17.9' |
| 585 | +PACKAGE_VERSION='17.10' |
| 586 | +PACKAGE_STRING='PostgreSQL 17.10' |
587 | 587 | PACKAGE_BUGREPORT='pgsql-bugs@lists.postgresql.org' |
588 | 588 | PACKAGE_URL='https://www.postgresql.org/' |
589 | 589 |
|
@@ -1466,7 +1466,7 @@ if test "$ac_init_help" = "long"; then |
1466 | 1466 | # Omit some internal or obsolete options to make the list less imposing. |
1467 | 1467 | # This message is too long to be a string in the A/UX 3.1 sh. |
1468 | 1468 | cat <<_ACEOF |
1469 | | -\`configure' configures PostgreSQL 17.9 to adapt to many kinds of systems. |
| 1469 | +\`configure' configures PostgreSQL 17.10 to adapt to many kinds of systems. |
1470 | 1470 |
|
1471 | 1471 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1472 | 1472 |
|
|
1531 | 1531 |
|
1532 | 1532 | if test -n "$ac_init_help"; then |
1533 | 1533 | case $ac_init_help in |
1534 | | - short | recursive ) echo "Configuration of PostgreSQL 17.9:";; |
| 1534 | + short | recursive ) echo "Configuration of PostgreSQL 17.10:";; |
1535 | 1535 | esac |
1536 | 1536 | cat <<\_ACEOF |
1537 | 1537 |
|
|
1716 | 1716 | test -n "$ac_init_help" && exit $ac_status |
1717 | 1717 | if $ac_init_version; then |
1718 | 1718 | cat <<\_ACEOF |
1719 | | -PostgreSQL configure 17.9 |
| 1719 | +PostgreSQL configure 17.10 |
1720 | 1720 | generated by GNU Autoconf 2.69 |
1721 | 1721 |
|
1722 | 1722 | Copyright (C) 2012 Free Software Foundation, Inc. |
@@ -2469,7 +2469,7 @@ cat >config.log <<_ACEOF |
2469 | 2469 | This file contains any messages produced by compilers while |
2470 | 2470 | running configure, to aid debugging if configure makes a mistake. |
2471 | 2471 |
|
2472 | | -It was created by PostgreSQL $as_me 17.9, which was |
| 2472 | +It was created by PostgreSQL $as_me 17.10, which was |
2473 | 2473 | generated by GNU Autoconf 2.69. Invocation command line was |
2474 | 2474 |
|
2475 | 2475 | $ $0 $@ |
@@ -14957,8 +14957,8 @@ _ACEOF |
14957 | 14957 | ;; |
14958 | 14958 | esac |
14959 | 14959 |
|
14960 | | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for printf format archetype" >&5 |
14961 | | -$as_echo_n "checking for printf format archetype... " >&6; } |
| 14960 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C printf format archetype" >&5 |
| 14961 | +$as_echo_n "checking for C printf format archetype... " >&6; } |
14962 | 14962 | if ${pgac_cv_printf_archetype+:} false; then : |
14963 | 14963 | $as_echo_n "(cached) " >&6 |
14964 | 14964 | else |
@@ -15018,7 +15018,97 @@ fi |
15018 | 15018 | $as_echo "$pgac_cv_printf_archetype" >&6; } |
15019 | 15019 |
|
15020 | 15020 | cat >>confdefs.h <<_ACEOF |
15021 | | -#define PG_PRINTF_ATTRIBUTE $pgac_cv_printf_archetype |
| 15021 | +#define PG_C_PRINTF_ATTRIBUTE $pgac_cv_printf_archetype |
| 15022 | +_ACEOF |
| 15023 | + |
| 15024 | + |
| 15025 | + |
| 15026 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ printf format archetype" >&5 |
| 15027 | +$as_echo_n "checking for C++ printf format archetype... " >&6; } |
| 15028 | +if ${pgac_cv_cxx_printf_archetype+:} false; then : |
| 15029 | + $as_echo_n "(cached) " >&6 |
| 15030 | +else |
| 15031 | + pgac_cv_cxx_printf_archetype=gnu_printf |
| 15032 | +ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
| 15033 | +ac_cxx_werror_flag=yes |
| 15034 | +ac_ext=cpp |
| 15035 | +ac_cpp='$CXXCPP $CPPFLAGS' |
| 15036 | +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 15037 | +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 15038 | +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 15039 | + |
| 15040 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15041 | +/* end confdefs.h. */ |
| 15042 | +extern void pgac_write(int ignore, const char *fmt,...) |
| 15043 | +__attribute__((format($pgac_cv_cxx_printf_archetype, 2, 3))); |
| 15044 | +int |
| 15045 | +main () |
| 15046 | +{ |
| 15047 | +pgac_write(0, "error %s: %m", "foo"); |
| 15048 | + ; |
| 15049 | + return 0; |
| 15050 | +} |
| 15051 | +_ACEOF |
| 15052 | +if ac_fn_cxx_try_compile "$LINENO"; then : |
| 15053 | + ac_archetype_ok=yes |
| 15054 | +else |
| 15055 | + ac_archetype_ok=no |
| 15056 | +fi |
| 15057 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15058 | +ac_ext=c |
| 15059 | +ac_cpp='$CPP $CPPFLAGS' |
| 15060 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 15061 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 15062 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 15063 | + |
| 15064 | +ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| 15065 | + |
| 15066 | +if [ "$ac_archetype_ok" = no ]; then |
| 15067 | + pgac_cv_cxx_printf_archetype=__syslog__ |
| 15068 | + ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
| 15069 | +ac_cxx_werror_flag=yes |
| 15070 | +ac_ext=cpp |
| 15071 | +ac_cpp='$CXXCPP $CPPFLAGS' |
| 15072 | +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 15073 | +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 15074 | +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
| 15075 | + |
| 15076 | +cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15077 | +/* end confdefs.h. */ |
| 15078 | +extern void pgac_write(int ignore, const char *fmt,...) |
| 15079 | +__attribute__((format($pgac_cv_cxx_printf_archetype, 2, 3))); |
| 15080 | +int |
| 15081 | +main () |
| 15082 | +{ |
| 15083 | +pgac_write(0, "error %s: %m", "foo"); |
| 15084 | + ; |
| 15085 | + return 0; |
| 15086 | +} |
| 15087 | +_ACEOF |
| 15088 | +if ac_fn_cxx_try_compile "$LINENO"; then : |
| 15089 | + ac_archetype_ok=yes |
| 15090 | +else |
| 15091 | + ac_archetype_ok=no |
| 15092 | +fi |
| 15093 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15094 | +ac_ext=c |
| 15095 | +ac_cpp='$CPP $CPPFLAGS' |
| 15096 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 15097 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 15098 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 15099 | + |
| 15100 | +ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
| 15101 | + |
| 15102 | + if [ "$ac_archetype_ok" = no ]; then |
| 15103 | + pgac_cv_cxx_printf_archetype=printf |
| 15104 | + fi |
| 15105 | +fi |
| 15106 | +fi |
| 15107 | +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv_cxx_printf_archetype" >&5 |
| 15108 | +$as_echo "$pgac_cv_cxx_printf_archetype" >&6; } |
| 15109 | + |
| 15110 | +cat >>confdefs.h <<_ACEOF |
| 15111 | +#define PG_CXX_PRINTF_ATTRIBUTE $pgac_cv_cxx_printf_archetype |
15022 | 15112 | _ACEOF |
15023 | 15113 |
|
15024 | 15114 |
|
@@ -16381,6 +16471,16 @@ fi |
16381 | 16471 | cat >>confdefs.h <<_ACEOF |
16382 | 16472 | #define HAVE_DECL_STRNLEN $ac_have_decl |
16383 | 16473 | _ACEOF |
| 16474 | +ac_fn_c_check_decl "$LINENO" "timingsafe_bcmp" "ac_cv_have_decl_timingsafe_bcmp" "$ac_includes_default" |
| 16475 | +if test "x$ac_cv_have_decl_timingsafe_bcmp" = xyes; then : |
| 16476 | + ac_have_decl=1 |
| 16477 | +else |
| 16478 | + ac_have_decl=0 |
| 16479 | +fi |
| 16480 | + |
| 16481 | +cat >>confdefs.h <<_ACEOF |
| 16482 | +#define HAVE_DECL_TIMINGSAFE_BCMP $ac_have_decl |
| 16483 | +_ACEOF |
16384 | 16484 |
|
16385 | 16485 |
|
16386 | 16486 | # We can't use AC_CHECK_FUNCS to detect these functions, because it |
@@ -16553,6 +16653,19 @@ esac |
16553 | 16653 |
|
16554 | 16654 | fi |
16555 | 16655 |
|
| 16656 | +ac_fn_c_check_func "$LINENO" "timingsafe_bcmp" "ac_cv_func_timingsafe_bcmp" |
| 16657 | +if test "x$ac_cv_func_timingsafe_bcmp" = xyes; then : |
| 16658 | + $as_echo "#define HAVE_TIMINGSAFE_BCMP 1" >>confdefs.h |
| 16659 | + |
| 16660 | +else |
| 16661 | + case " $LIBOBJS " in |
| 16662 | + *" timingsafe_bcmp.$ac_objext "* ) ;; |
| 16663 | + *) LIBOBJS="$LIBOBJS timingsafe_bcmp.$ac_objext" |
| 16664 | + ;; |
| 16665 | +esac |
| 16666 | + |
| 16667 | +fi |
| 16668 | + |
16556 | 16669 |
|
16557 | 16670 |
|
16558 | 16671 | ac_fn_c_check_func "$LINENO" "pthread_barrier_wait" "ac_cv_func_pthread_barrier_wait" |
@@ -20463,7 +20576,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
20463 | 20576 | # report actual input values of CONFIG_FILES etc. instead of their |
20464 | 20577 | # values after options handling. |
20465 | 20578 | ac_log=" |
20466 | | -This file was extended by PostgreSQL $as_me 17.9, which was |
| 20579 | +This file was extended by PostgreSQL $as_me 17.10, which was |
20467 | 20580 | generated by GNU Autoconf 2.69. Invocation command line was |
20468 | 20581 |
|
20469 | 20582 | CONFIG_FILES = $CONFIG_FILES |
@@ -20534,7 +20647,7 @@ _ACEOF |
20534 | 20647 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
20535 | 20648 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
20536 | 20649 | ac_cs_version="\\ |
20537 | | -PostgreSQL config.status 17.9 |
| 20650 | +PostgreSQL config.status 17.10 |
20538 | 20651 | configured by $0, generated by GNU Autoconf 2.69, |
20539 | 20652 | with options \\"\$ac_cs_config\\" |
20540 | 20653 |
|
|
0 commit comments