Skip to content

Commit 8fe4bea

Browse files
committed
Remove traces of Sun -lposix4.
This was a library on ancient Solaris systems, which was eventually replaced by -lrt, itself now redundant on that OS. Reviewed-by: Peter Eisentraut <peter@eisentraut.org> Reviewed-by: Tristan Partin <tristan@neon.tech> Discussion: https://postgr.es/m/CA%2BhUKGLLVx4drdvXats9PxH3eeB%2BE2NkJReJ%2BRGmaOpU%3D9rgEA%40mail.gmail.com
1 parent 64393a7 commit 8fe4bea

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12163,7 +12163,7 @@ return clock_gettime ();
1216312163
return 0;
1216412164
}
1216512165
_ACEOF
12166-
for ac_lib in '' rt posix4; do
12166+
for ac_lib in '' rt; do
1216712167
if test -z "$ac_lib"; then
1216812168
ac_res="none required"
1216912169
else

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ AC_SEARCH_LIBS(socket, [socket ws2_32])
12851285
AC_SEARCH_LIBS(getopt_long, [getopt gnugetopt])
12861286
AC_SEARCH_LIBS(shm_open, rt)
12871287
AC_SEARCH_LIBS(shm_unlink, rt)
1288-
AC_SEARCH_LIBS(clock_gettime, [rt posix4])
1288+
AC_SEARCH_LIBS(clock_gettime, rt)
12891289
# Cygwin:
12901290
AC_SEARCH_LIBS(shmget, cygipc)
12911291
# *BSD:

meson.build

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2380,7 +2380,6 @@ rt_dep = cc.find_library('rt', required: false)
23802380
dl_dep = cc.find_library('dl', required: false)
23812381

23822382
util_dep = cc.find_library('util', required: false)
2383-
posix4_dep = cc.find_library('posix4', required: false)
23842383

23852384
getopt_dep = cc.find_library('getopt', required: false)
23862385
gnugetopt_dep = cc.find_library('gnugetopt', required: false)
@@ -2414,7 +2413,7 @@ endif
24142413
func_checks = [
24152414
['_configthreadlocale', {'skip': host_system != 'windows'}],
24162415
['backtrace_symbols', {'dependencies': [execinfo_dep]}],
2417-
['clock_gettime', {'dependencies': [rt_dep, posix4_dep], 'define': false}],
2416+
['clock_gettime', {'dependencies': [rt_dep], 'define': false}],
24182417
['copyfile'],
24192418
# gcc/clang's sanitizer helper library provides dlopen but not dlsym, thus
24202419
# when enabling asan the dlopen check doesn't notice that -ldl is actually

0 commit comments

Comments
 (0)