diff -ruN postgresql12-12.11.orig/configure.in postgresql12-12.11/configure.in --- postgresql12-12.11.orig/configure.in 2022-05-11 06:18:55.000000000 +0000 +++ postgresql12-12.11/configure.in 2022-05-11 06:21:43.517916123 +0000 @@ -1194,7 +1194,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.