summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index c03ff0898f5..f65eacda82b 100644
--- a/configure.in
+++ b/configure.in
@@ -900,6 +900,7 @@ AC_CHECK_FUNC(gethostbyname, , dnl
dnl Check for getservbyname in -lxnet since some platforms (e.g. Solaris)
dnl may put it there. Define ACE_LACKS_GETSERVBYNAME in case the getservbyname
dnl AC_CHECK_FUNC gets skipped due to caching.
+ace_lacks_getservbyname=no
AC_CHECK_FUNC(getservbyname, , dnl
AC_CHECK_LIB(xnet, getservbyname, , ace_lacks_getservbyname=yes))