diff -ruN postgresql13-13.7.orig/configure.in postgresql13-13.7/configure.in --- postgresql13-13.7.orig/configure.in 2022-05-11 06:41:54.000000000 +0000 +++ postgresql13-13.7/configure.in 2022-05-11 06:45:00.298787216 +0000 @@ -1177,7 +1177,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.