11#! /bin/sh
22# Guess values for system-dependent variables and create Makefiles.
3- # Generated by GNU Autoconf 2.69 for PostgreSQL 17.5 .
3+ # Generated by GNU Autoconf 2.69 for PostgreSQL 17.6 .
44#
55# Report bugs to <pgsql-bugs@lists.postgresql.org>.
66#
@@ -582,8 +582,8 @@ MAKEFLAGS=
582582# Identity of this package.
583583PACKAGE_NAME='PostgreSQL'
584584PACKAGE_TARNAME='postgresql'
585- PACKAGE_VERSION='17.5 '
586- PACKAGE_STRING='PostgreSQL 17.5 '
585+ PACKAGE_VERSION='17.6 '
586+ PACKAGE_STRING='PostgreSQL 17.6 '
587587PACKAGE_BUGREPORT='pgsql-bugs@lists.postgresql.org'
588588PACKAGE_URL='https://www.postgresql.org/'
589589
@@ -1452,7 +1452,7 @@ if test "$ac_init_help" = "long"; then
14521452 # Omit some internal or obsolete options to make the list less imposing.
14531453 # This message is too long to be a string in the A/UX 3.1 sh.
14541454 cat <<_ACEOF
1455- \`configure' configures PostgreSQL 17.5 to adapt to many kinds of systems.
1455+ \`configure' configures PostgreSQL 17.6 to adapt to many kinds of systems.
14561456
14571457Usage: $0 [OPTION]... [VAR=VALUE]...
14581458
15171517
15181518if test -n "$ac_init_help"; then
15191519 case $ac_init_help in
1520- short | recursive ) echo "Configuration of PostgreSQL 17.5 :";;
1520+ short | recursive ) echo "Configuration of PostgreSQL 17.6 :";;
15211521 esac
15221522 cat <<\_ACEOF
15231523
16931693test -n "$ac_init_help" && exit $ac_status
16941694if $ac_init_version; then
16951695 cat <<\_ACEOF
1696- PostgreSQL configure 17.5
1696+ PostgreSQL configure 17.6
16971697generated by GNU Autoconf 2.69
16981698
16991699Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2446,7 +2446,7 @@ cat >config.log <<_ACEOF
24462446This file contains any messages produced by compilers while
24472447running configure, to aid debugging if configure makes a mistake.
24482448
2449- It was created by PostgreSQL $as_me 17.5 , which was
2449+ It was created by PostgreSQL $as_me 17.6 , which was
24502450generated by GNU Autoconf 2.69. Invocation command line was
24512451
24522452 $ $0 $@
52165216
52175217 for pgac_option in `$LLVM_CONFIG --ldflags`; do
52185218 case $pgac_option in
5219- -L*) LDFLAGS ="$LDFLAGS $pgac_option";;
5219+ -L*) LLVM_LIBS ="$LLVM_LIBS $pgac_option";;
52205220 esac
52215221 done
52225222
@@ -9056,12 +9056,12 @@ fi
90569056 # Note the user could also set XML2_CFLAGS/XML2_LIBS directly
90579057 for pgac_option in $XML2_CFLAGS; do
90589058 case $pgac_option in
9059- -I*|-D*) CPPFLAGS ="$CPPFLAGS $pgac_option";;
9059+ -I*|-D*) INCLUDES ="$INCLUDES $pgac_option";;
90609060 esac
90619061 done
90629062 for pgac_option in $XML2_LIBS; do
90639063 case $pgac_option in
9064- -L*) LDFLAGS ="$LDFLAGS $pgac_option";;
9064+ -L*) LIBDIRS ="$LIBDIRS $pgac_option";;
90659065 esac
90669066 done
90679067fi
@@ -9286,12 +9286,12 @@ fi
92869286 # note that -llz4 will be added by AC_CHECK_LIB below.
92879287 for pgac_option in $LZ4_CFLAGS; do
92889288 case $pgac_option in
9289- -I*|-D*) CPPFLAGS ="$CPPFLAGS $pgac_option";;
9289+ -I*|-D*) INCLUDES ="$INCLUDES $pgac_option";;
92909290 esac
92919291 done
92929292 for pgac_option in $LZ4_LIBS; do
92939293 case $pgac_option in
9294- -L*) LDFLAGS ="$LDFLAGS $pgac_option";;
9294+ -L*) LIBDIRS ="$LIBDIRS $pgac_option";;
92959295 esac
92969296 done
92979297fi
@@ -9427,12 +9427,12 @@ fi
94279427 # note that -lzstd will be added by AC_CHECK_LIB below.
94289428 for pgac_option in $ZSTD_CFLAGS; do
94299429 case $pgac_option in
9430- -I*|-D*) CPPFLAGS ="$CPPFLAGS $pgac_option";;
9430+ -I*|-D*) INCLUDES ="$INCLUDES $pgac_option";;
94319431 esac
94329432 done
94339433 for pgac_option in $ZSTD_LIBS; do
94349434 case $pgac_option in
9435- -L*) LDFLAGS ="$LDFLAGS $pgac_option";;
9435+ -L*) LIBDIRS ="$LIBDIRS $pgac_option";;
94369436 esac
94379437 done
94389438fi
@@ -15358,7 +15358,7 @@ fi
1535815358LIBS_including_readline="$LIBS"
1535915359LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'`
1536015360
15361- for ac_func in backtrace_symbols copyfile copy_file_range getifaddrs getpeerucred inet_pton kqueue mbstowcs_l memset_s posix_fallocate ppoll pthread_is_threaded_np setproctitle setproctitle_fast strsignal syncfs sync_file_range uselocale wcstombs_l
15361+ for ac_func in backtrace_symbols copyfile copy_file_range getifaddrs getpeerucred inet_pton kqueue mbstowcs_l posix_fallocate ppoll pthread_is_threaded_np setproctitle setproctitle_fast strsignal syncfs sync_file_range uselocale wcstombs_l
1536215362do :
1536315363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1536415364ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -15914,6 +15914,19 @@ cat >>confdefs.h <<_ACEOF
1591415914#define HAVE_DECL_STRCHRNUL $ac_have_decl
1591515915_ACEOF
1591615916
15917+ ac_fn_c_check_decl "$LINENO" "memset_s" "ac_cv_have_decl_memset_s" "#define __STDC_WANT_LIB_EXT1__ 1
15918+ #include <string.h>
15919+ "
15920+ if test "x$ac_cv_have_decl_memset_s" = xyes; then :
15921+ ac_have_decl=1
15922+ else
15923+ ac_have_decl=0
15924+ fi
15925+
15926+ cat >>confdefs.h <<_ACEOF
15927+ #define HAVE_DECL_MEMSET_S $ac_have_decl
15928+ _ACEOF
15929+
1591715930
1591815931# This is probably only present on macOS, but may as well check always
1591915932ac_fn_c_check_decl "$LINENO" "F_FULLFSYNC" "ac_cv_have_decl_F_FULLFSYNC" "#include <fcntl.h>
@@ -16329,7 +16342,7 @@ fi
1632916342
1633016343if test "$with_icu" = yes; then
1633116344 ac_save_CPPFLAGS=$CPPFLAGS
16332- CPPFLAGS="$ICU_CFLAGS $CPPFLAGS "
16345+ CPPFLAGS="$CPPFLAGS $ICU_CFLAGS "
1633316346
1633416347 # Verify we have ICU's header files
1633516348 ac_fn_c_check_header_mongrel "$LINENO" "unicode/ucol.h" "ac_cv_header_unicode_ucol_h" "$ac_includes_default"
@@ -17480,7 +17493,7 @@ $as_echo "#define HAVE_GCC__ATOMIC_INT64_CAS 1" >>confdefs.h
1748017493fi
1748117494
1748217495
17483- # Check for x86 cpuid instruction
17496+ # Check for __get_cpuid() and __cpuid()
1748417497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid" >&5
1748517498$as_echo_n "checking for __get_cpuid... " >&6; }
1748617499if ${pgac_cv__get_cpuid+:} false; then :
@@ -17513,77 +17526,79 @@ if test x"$pgac_cv__get_cpuid" = x"yes"; then
1751317526
1751417527$as_echo "#define HAVE__GET_CPUID 1" >>confdefs.h
1751517528
17516- fi
17517-
17518- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid_count " >&5
17519- $as_echo_n "checking for __get_cpuid_count ... " >&6; }
17520- if ${pgac_cv__get_cpuid_count +:} false; then :
17529+ else
17530+ # __cpuid()
17531+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid " >&5
17532+ $as_echo_n "checking for __cpuid ... " >&6; }
17533+ if ${pgac_cv__cpuid +:} false; then :
1752117534 $as_echo_n "(cached) " >&6
1752217535else
1752317536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1752417537/* end confdefs.h. */
17525- #include <cpuid .h>
17538+ #include <intrin .h>
1752617539int
1752717540main ()
1752817541{
1752917542unsigned int exx[4] = {0, 0, 0, 0};
17530- __get_cpuid_count(7, 0, & exx[0], &exx[1], &exx[2], &exx[3] );
17543+ __cpuid( exx, 1 );
1753117544
1753217545 ;
1753317546 return 0;
1753417547}
1753517548_ACEOF
1753617549if ac_fn_c_try_link "$LINENO"; then :
17537- pgac_cv__get_cpuid_count ="yes"
17550+ pgac_cv__cpuid ="yes"
1753817551else
17539- pgac_cv__get_cpuid_count ="no"
17552+ pgac_cv__cpuid ="no"
1754017553fi
1754117554rm -f core conftest.err conftest.$ac_objext \
1754217555 conftest$ac_exeext conftest.$ac_ext
1754317556fi
17544- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__get_cpuid_count " >&5
17545- $as_echo "$pgac_cv__get_cpuid_count " >&6; }
17546- if test x"$pgac_cv__get_cpuid_count " = x"yes"; then
17557+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuid " >&5
17558+ $as_echo "$pgac_cv__cpuid " >&6; }
17559+ if test x"$pgac_cv__cpuid " = x"yes"; then
1754717560
17548- $as_echo "#define HAVE__GET_CPUID_COUNT 1" >>confdefs.h
17561+ $as_echo "#define HAVE__CPUID 1" >>confdefs.h
1754917562
17563+ fi
1755017564fi
1755117565
17552- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid" >&5
17553- $as_echo_n "checking for __cpuid... " >&6; }
17554- if ${pgac_cv__cpuid+:} false; then :
17566+ # Check for __get_cpuid_count() and __cpuidex() in a similar fashion.
17567+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid_count" >&5
17568+ $as_echo_n "checking for __get_cpuid_count... " >&6; }
17569+ if ${pgac_cv__get_cpuid_count+:} false; then :
1755517570 $as_echo_n "(cached) " >&6
1755617571else
1755717572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1755817573/* end confdefs.h. */
17559- #include <intrin .h>
17574+ #include <cpuid .h>
1756017575int
1756117576main ()
1756217577{
1756317578unsigned int exx[4] = {0, 0, 0, 0};
17564- __get_cpuid( exx[0], 1 );
17579+ __get_cpuid_count(7, 0, & exx[0], &exx[1], &exx[2], &exx[3] );
1756517580
1756617581 ;
1756717582 return 0;
1756817583}
1756917584_ACEOF
1757017585if ac_fn_c_try_link "$LINENO"; then :
17571- pgac_cv__cpuid ="yes"
17586+ pgac_cv__get_cpuid_count ="yes"
1757217587else
17573- pgac_cv__cpuid ="no"
17588+ pgac_cv__get_cpuid_count ="no"
1757417589fi
1757517590rm -f core conftest.err conftest.$ac_objext \
1757617591 conftest$ac_exeext conftest.$ac_ext
1757717592fi
17578- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuid" >&5
17579- $as_echo "$pgac_cv__cpuid" >&6; }
17580- if test x"$pgac_cv__cpuid" = x"yes"; then
17581-
17582- $as_echo "#define HAVE__CPUID 1" >>confdefs.h
17593+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__get_cpuid_count" >&5
17594+ $as_echo "$pgac_cv__get_cpuid_count" >&6; }
17595+ if test x"$pgac_cv__get_cpuid_count" = x"yes"; then
1758317596
17584- fi
17597+ $as_echo "#define HAVE__GET_CPUID_COUNT 1" >>confdefs.h
1758517598
17586- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuidex" >&5
17599+ else
17600+ # __cpuidex()
17601+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuidex" >&5
1758717602$as_echo_n "checking for __cpuidex... " >&6; }
1758817603if ${pgac_cv__cpuidex+:} false; then :
1758917604 $as_echo_n "(cached) " >&6
@@ -17595,7 +17610,7 @@ int
1759517610main ()
1759617611{
1759717612unsigned int exx[4] = {0, 0, 0, 0};
17598- __get_cpuidex (exx[0] , 7, 0);
17613+ __cpuidex (exx, 7, 0);
1759917614
1760017615 ;
1760117616 return 0;
@@ -17611,10 +17626,11 @@ rm -f core conftest.err conftest.$ac_objext \
1761117626fi
1761217627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuidex" >&5
1761317628$as_echo "$pgac_cv__cpuidex" >&6; }
17614- if test x"$pgac_cv__cpuidex" = x"yes"; then
17629+ if test x"$pgac_cv__cpuidex" = x"yes"; then
1761517630
1761617631$as_echo "#define HAVE__CPUIDEX 1" >>confdefs.h
1761717632
17633+ fi
1761817634fi
1761917635
1762017636# Check for XSAVE intrinsics
@@ -18766,7 +18782,7 @@ Use --without-tcl to disable building PL/Tcl." "$LINENO" 5
1876618782 fi
1876718783 # now that we have TCL_INCLUDE_SPEC, we can check for <tcl.h>
1876818784 ac_save_CPPFLAGS=$CPPFLAGS
18769- CPPFLAGS="$TCL_INCLUDE_SPEC $CPPFLAGS "
18785+ CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC "
1877018786 ac_fn_c_check_header_mongrel "$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
1877118787if test "x$ac_cv_header_tcl_h" = xyes; then :
1877218788
@@ -18835,7 +18851,7 @@ fi
1883518851# check for <Python.h>
1883618852if test "$with_python" = yes; then
1883718853 ac_save_CPPFLAGS=$CPPFLAGS
18838- CPPFLAGS="$python_includespec $CPPFLAGS "
18854+ CPPFLAGS="$CPPFLAGS $python_includespec "
1883918855 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
1884018856if test "x$ac_cv_header_Python_h" = xyes; then :
1884118857
@@ -19936,7 +19952,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1993619952# report actual input values of CONFIG_FILES etc. instead of their
1993719953# values after options handling.
1993819954ac_log="
19939- This file was extended by PostgreSQL $as_me 17.5 , which was
19955+ This file was extended by PostgreSQL $as_me 17.6 , which was
1994019956generated by GNU Autoconf 2.69. Invocation command line was
1994119957
1994219958 CONFIG_FILES = $CONFIG_FILES
@@ -20007,7 +20023,7 @@ _ACEOF
2000720023cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2000820024ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2000920025ac_cs_version="\\
20010- PostgreSQL config.status 17.5
20026+ PostgreSQL config.status 17.6
2001120027configured by $0, generated by GNU Autoconf 2.69,
2001220028 with options \\"\$ac_cs_config\\"
2001320029
0 commit comments