summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPino Toscano <pino@kde.org>2016-04-21 08:30:25 +0200
committerPino Toscano <pino@kde.org>2016-04-21 08:30:25 +0200
commit6eafb6570765605108cf3525f78b10223439ee1d (patch)
tree2dcb8411aba4a9e4722e7913dd15d4af2864cdc9 /configure.ac
parentd9408c186f9b5c992a4e1492a58dda506d8453ac (diff)
configure: remove unused check for gethostbyname
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 0 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 57639ad5..5c2f015c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -181,11 +181,6 @@ AC_CHECK_FUNC(gmtime_r, AC_DEFINE(HAVE_GMTIME_R, 1, [Defines if gmtime_r is avai
AC_CHECK_FUNC(rand_r, AC_DEFINE(HAVE_RAND_R, 1, [Defines if rand_r is available on your system]))
dnl ##### Check for extra libraries needed by X. (LynxOS needs this.)
-AC_CHECK_FUNC(gethostbyname)
-if test $ac_cv_func_gethostbyname = no; then
- AC_CHECK_LIB(bsd, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd")
-fi
-
AC_CHECK_FUNC(nanosleep,,)
dnl try in librt if not found in current LIBS
if test x$ac_cv_func_nanosleep = xno