From: Michael Paquier Date: Mon, 5 Jan 2026 02:03:43 +0000 (+0900) Subject: Remove unneeded probes from configure and meson X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ab4b864c13f76512bd14591cc358df8c3d7c3a0;p=thirdparty%2Fpostgresql.git Remove unneeded probes from configure and meson 7d854bdc5b72 has removed two symbols from pg_config.h.in. This file is automatically generated. The correct cleanup needs to be done in the build scripts, instead. autoheader produces now a consistent pg_config.h.in, without the symbols that were removed in the previous commit. Reported-by: Tom Lane Discussion: https://postgr.es/m/1193764.1767573683@sss.pgh.pa.us --- diff --git a/configure b/configure index 78597c6229a..02e4ec7890f 100755 --- a/configure +++ b/configure @@ -13669,7 +13669,7 @@ fi ## Header files ## -for ac_header in atomic.h copyfile.h execinfo.h getopt.h ifaddrs.h mbarrier.h sys/epoll.h sys/event.h sys/personality.h sys/prctl.h sys/procctl.h sys/signalfd.h sys/ucred.h termios.h uchar.h ucred.h xlocale.h +for ac_header in copyfile.h execinfo.h getopt.h ifaddrs.h sys/epoll.h sys/event.h sys/personality.h sys/prctl.h sys/procctl.h sys/signalfd.h sys/ucred.h termios.h uchar.h ucred.h xlocale.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" diff --git a/configure.ac b/configure.ac index 2ccf410f94c..b90a220a635 100644 --- a/configure.ac +++ b/configure.ac @@ -1501,12 +1501,10 @@ AC_SUBST(UUID_LIBS) ## AC_CHECK_HEADERS(m4_normalize([ - atomic.h copyfile.h execinfo.h getopt.h ifaddrs.h - mbarrier.h sys/epoll.h sys/event.h sys/personality.h diff --git a/meson.build b/meson.build index 467f7f005a6..c3834a9dc8f 100644 --- a/meson.build +++ b/meson.build @@ -2626,13 +2626,11 @@ endif # XXX: Might be worth conditioning some checks on the OS, to avoid doing # unnecessary checks over and over, particularly on windows. header_checks = [ - 'atomic.h', 'copyfile.h', 'crtdefs.h', 'execinfo.h', 'getopt.h', 'ifaddrs.h', - 'mbarrier.h', 'strings.h', 'sys/epoll.h', 'sys/event.h',