]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Remove unneeded probes from configure and meson
authorMichael Paquier <michael@paquier.xyz>
Mon, 5 Jan 2026 02:03:43 +0000 (11:03 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 5 Jan 2026 02:03:43 +0000 (11:03 +0900)
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 <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/1193764.1767573683@sss.pgh.pa.us

configure
configure.ac
meson.build

index 78597c6229a27b4ffa4e1a65426c5491aa9ca0bf..02e4ec7890f142955c74a3cfa00864c19fbcf402 100755 (executable)
--- 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"
index 2ccf410f94c5b0b300b25d89a26de3dc79a68119..b90a220a6358cef77a5e1b472b7cf5891c2efc70 100644 (file)
@@ -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
index 467f7f005a6a4bda5d11fec058e4635d280c669a..c3834a9dc8fa386f68524c31a0a64d4e6c1c28be 100644 (file)
@@ -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',