summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2009-01-14 18:10:21 +0000
committerBruce Momjian <bruce@momjian.us>2009-01-14 18:10:21 +0000
commiteac951d5107db0c280f179f38cba47a95e10f7e3 (patch)
tree2a6be203210342c036d2020a4b9e353112234dfa /configure
parent62f09e92beba437a02777c8b2f7988c98a355d1c (diff)
downloadpostgresql-eac951d5107db0c280f179f38cba47a95e10f7e3.tar.gz
Check nsl library for gethostbyname_r() on all platforms (HP-UX uses it
too).
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 2 insertions, 5 deletions
diff --git a/configure b/configure
index e81aae154d..38f24ffa2e 100755
--- a/configure
+++ b/configure
@@ -7744,9 +7744,8 @@ if test "$ac_res" != no; then
fi
# Required for thread_test.c on Solaris 2.5:
-case $host_os in
- solaris*)
- { echo "$as_me:$LINENO: checking for library containing gethostbyname_r" >&5
+# Other ports use it too (HP-UX) so test unconditionally
+{ echo "$as_me:$LINENO: checking for library containing gethostbyname_r" >&5
echo $ECHO_N "checking for library containing gethostbyname_r... $ECHO_C" >&6; }
if test "${ac_cv_search_gethostbyname_r+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7829,8 +7828,6 @@ if test "$ac_res" != no; then
fi
- ;;
-esac
# Cygwin:
{ echo "$as_me:$LINENO: checking for library containing shmget" >&5
echo $ECHO_N "checking for library containing shmget... $ECHO_C" >&6; }