diff -ruN postgresql14-14.3.orig/configure.ac postgresql14-14.3/configure.ac --- postgresql14-14.3.orig/configure.ac 2022-05-11 03:59:06.000000000 +0000 +++ postgresql14-14.3/configure.ac 2022-05-11 04:04:48.128910413 +0000 @@ -1199,7 +1199,7 @@ ## AC_CHECK_LIB(m, main) -AC_SEARCH_LIBS(setproctitle, util) +AC_SEARCH_LIBS(setproctitle, setproctitle) # gcc/clang's sanitizer helper library provides dlopen but not dlsym, thus # when enabling asan the dlopen check doesn't notice that -ldl is actually # required. Just checking for dlsym() ought to suffice.