mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03:00
Check nsl library for gethostbyname_r() on all platforms (HP-UX uses it
too).
This commit is contained in:
7
configure
vendored
7
configure
vendored
@ -7744,9 +7744,8 @@ if test "$ac_res" != no; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Required for thread_test.c on Solaris 2.5:
|
# Required for thread_test.c on Solaris 2.5:
|
||||||
case $host_os in
|
# Other ports use it too (HP-UX) so test unconditionally
|
||||||
solaris*)
|
{ echo "$as_me:$LINENO: checking for library containing gethostbyname_r" >&5
|
||||||
{ echo "$as_me:$LINENO: checking for library containing gethostbyname_r" >&5
|
|
||||||
echo $ECHO_N "checking for library containing gethostbyname_r... $ECHO_C" >&6; }
|
echo $ECHO_N "checking for library containing gethostbyname_r... $ECHO_C" >&6; }
|
||||||
if test "${ac_cv_search_gethostbyname_r+set}" = set; then
|
if test "${ac_cv_search_gethostbyname_r+set}" = set; then
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
@ -7829,8 +7828,6 @@ if test "$ac_res" != no; then
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
# Cygwin:
|
# Cygwin:
|
||||||
{ echo "$as_me:$LINENO: checking for library containing shmget" >&5
|
{ echo "$as_me:$LINENO: checking for library containing shmget" >&5
|
||||||
echo $ECHO_N "checking for library containing shmget... $ECHO_C" >&6; }
|
echo $ECHO_N "checking for library containing shmget... $ECHO_C" >&6; }
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
dnl Process this file with autoconf to produce a configure script.
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
dnl $PostgreSQL: pgsql/configure.in,v 1.586 2009/01/14 16:39:58 momjian Exp $
|
dnl $PostgreSQL: pgsql/configure.in,v 1.587 2009/01/14 18:10:21 momjian Exp $
|
||||||
dnl
|
dnl
|
||||||
dnl Developers, please strive to achieve this order:
|
dnl Developers, please strive to achieve this order:
|
||||||
dnl
|
dnl
|
||||||
@ -871,11 +871,8 @@ AC_SEARCH_LIBS(crypt, crypt)
|
|||||||
# Solaris:
|
# Solaris:
|
||||||
AC_SEARCH_LIBS(fdatasync, [rt posix4])
|
AC_SEARCH_LIBS(fdatasync, [rt posix4])
|
||||||
# Required for thread_test.c on Solaris 2.5:
|
# Required for thread_test.c on Solaris 2.5:
|
||||||
case $host_os in
|
# Other ports use it too (HP-UX) so test unconditionally
|
||||||
solaris*)
|
AC_SEARCH_LIBS(gethostbyname_r, nsl)
|
||||||
AC_SEARCH_LIBS(gethostbyname_r, nsl)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
# Cygwin:
|
# Cygwin:
|
||||||
AC_SEARCH_LIBS(shmget, cygipc)
|
AC_SEARCH_LIBS(shmget, cygipc)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user